summaryrefslogtreecommitdiff
path: root/net-libs/opal/files/30645-fixed-use-with-older-ffmpeg-after-upgrading-to-later-ffmpeg-isnt-this-fun.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/opal/files/30645-fixed-use-with-older-ffmpeg-after-upgrading-to-later-ffmpeg-isnt-this-fun.patch')
-rw-r--r--net-libs/opal/files/30645-fixed-use-with-older-ffmpeg-after-upgrading-to-later-ffmpeg-isnt-this-fun.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-libs/opal/files/30645-fixed-use-with-older-ffmpeg-after-upgrading-to-later-ffmpeg-isnt-this-fun.patch b/net-libs/opal/files/30645-fixed-use-with-older-ffmpeg-after-upgrading-to-later-ffmpeg-isnt-this-fun.patch
new file mode 100644
index 00000000..a53ca92c
--- /dev/null
+++ b/net-libs/opal/files/30645-fixed-use-with-older-ffmpeg-after-upgrading-to-later-ffmpeg-isnt-this-fun.patch
@@ -0,0 +1,18 @@
+http://sourceforge.net/p/opalvoip/code/30645/
+
+Index: opal/trunk/plugins/video/common/ffmpeg.h
+===================================================================
+--- opal/trunk/plugins/video/common/ffmpeg.h (revision 30644)
++++ opal/trunk/plugins/video/common/ffmpeg.h (revision 30645)
+@@ -65,7 +65,11 @@
+ #include "libavformat/avformat.h"
+ #endif
+
++#if LIBAVCODEC_VERSION_INT <= AV_VERSION_INT(52, 123, 0)
++ typedef CodecID AVCodecID;
++#endif
+
++
+ /////////////////////////////////////////////////////////////////
+
+ class FFMPEGCodec