Hi, On Mon, Aug 17, 2015 at 8:16 AM, Michael Niedermayer <mich...@niedermayer.cc > wrote:
> On Mon, Aug 17, 2015 at 07:10:44AM -0400, Ronald S. Bultje wrote: > > --- > > libavcodec/error_resilience.c | 2 ++ > > libavcodec/h263dec.c | 2 ++ > > libavcodec/h264.c | 4 ++++ > > libavcodec/h264_picture.c | 4 ++++ > > libavcodec/h264_slice.c | 16 ++++++++++++---- > > libavcodec/mpeg12dec.c | 20 +++++++++++++++++--- > > libavcodec/mpegpicture.c | 6 +++++- > > libavcodec/mpegvideo.c | 11 +++++++++-- > > libavcodec/utils.c | 2 ++ > > libavcodec/vc1dec.c | 28 +++++++++++++++++++++------- > > 10 files changed, 78 insertions(+), 17 deletions(-) > > with: > @@ -88,7 +88,7 @@ > #define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 57) > #endif > #ifndef FF_API_CAP_VDPAU > -#define FF_API_CAP_VDPAU (LIBAVCODEC_VERSION_MAJOR < 57) > +#define FF_API_CAP_VDPAU (LIBAVCODEC_VERSION_MAJOR < 1) > #endif > #ifndef FF_API_BUFS_VDPAU > #define FF_API_BUFS_VDPAU (LIBAVCODEC_VERSION_MAJOR < 57) Change FF_API_VDPAU also. I don't think anything works if you disable only one or the other, and it's not useful anyway. They're meant to be bumped together. Ronald _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel