[packages] baresip: fix build against libavcodec by removing broken compat code
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 6 Feb 2012 11:54:43 +0000 (11:54 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 6 Feb 2012 11:54:43 +0000 (11:54 +0000)
SVN-Revision: 30328

net/baresip/patches/100-avcodec-compat.patch [new file with mode: 0644]

diff --git a/net/baresip/patches/100-avcodec-compat.patch b/net/baresip/patches/100-avcodec-compat.patch
new file mode 100644 (file)
index 0000000..2f412d6
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/modules/avformat/avf.c
++++ b/modules/avformat/avf.c
+@@ -27,10 +27,7 @@
+ /* backward compat */
+-#if defined (CODEC_TYPE_VIDEO)
+-#undef  AVMEDIA_TYPE_VIDEO
+ #define AVMEDIA_TYPE_VIDEO CODEC_TYPE_VIDEO
+-#endif
+ struct vidsrc_st {