summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTorsten Jager <t.jager@gmx.de>2014-08-02 18:28:55 +0200
committerTorsten Jager <t.jager@gmx.de>2014-08-02 18:28:55 +0200
commitcd632c2fef7cf55992bf823a47b4c6544542e14b (patch)
treef7c1b033d29ca3ae56a9d6d857861a943c06f209 /src
parent4fc305d178456579aabd87d67f9093e2b974a242 (diff)
downloadxine-lib-cd632c2fef7cf55992bf823a47b4c6544542e14b.tar.gz
xine-lib-cd632c2fef7cf55992bf823a47b4c6544542e14b.tar.bz2
Disable av_frame edges when not needed anymore.
Diffstat (limited to 'src')
-rw-r--r--src/combined/ffmpeg/ffmpeg_compat.h3
1 files changed, 3 insertions, 0 deletions
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)