Also deprecate av_get_pict_type_char() in favor of av_get_picture_type_char(). The new enum and av_get_picture_type_char() are defined in libavutil. This allows the use in libavfilter without the need to link against libavcodec.
Showing the changes to libavfilter (1 of 7 files). Show all
Unified · Split
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | |
| 28 | 28 | #define LIBAVFILTER_VERSION_MAJOR 2 |
| 29 | 29 | #define LIBAVFILTER_VERSION_MINOR 3 |
| 30 | −#define LIBAVFILTER_VERSION_MICRO 0 | |
| 30 | +#define LIBAVFILTER_VERSION_MICRO 1 | |
| 31 | 31 | |
| 32 | 32 | #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \ |
| 33 | 33 | LIBAVFILTER_VERSION_MINOR, \ |
| @@ -115,7 +115,7 @@ typedef struct AVFilterBufferRefVideoProps { · 81 unmodified lines | ||
| 115 | 115 | AVRational pixel_aspect; ///< pixel aspect ratio |
| 116 | 116 | int interlaced; ///< is frame interlaced |
| 117 | 117 | int top_field_first; ///< field order |
| 118 | − int pict_type; ///< Picture type of the frame | |
| 118 | + enum AVPictureType pict_type; ///< picture type of the frame | |
| 119 | 119 | int key_frame; ///< 1 -> keyframe, 0-> not |
| 120 | 120 | } AVFilterBufferRefVideoProps; |
| 121 | 121 | |