From cd632c2fef7cf55992bf823a47b4c6544542e14b Mon Sep 17 00:00:00 2001 From: Torsten Jager Date: Sat, 2 Aug 2014 18:28:55 +0200 Subject: Disable av_frame edges when not needed anymore. --- src/combined/ffmpeg/ffmpeg_compat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/combined/ffmpeg/ffmpeg_compat.h b/src/combined/ffmpeg/ffmpeg_compat.h index 32de1fd24..edd01ddba 100644 --- a/src/combined/ffmpeg/ffmpeg_compat.h +++ b/src/combined/ffmpeg/ffmpeg_compat.h @@ -196,6 +196,9 @@ #if LIBAVCODEC_VERSION_INT < AV_INT_VERSION(52,66,0) # define avcodec_get_edge_width() (16) +#elif LIBAVCODEC_VERSION_INT >= AV_INT_VERSION(55,48,102) +/* edges not needed anymore supposedly */ +# define avcodec_get_edge_width() (0) #endif #if LIBAVCODEC_VERSION_INT >= AV_INT_VERSION(55,0,100) -- cgit v1.2.3