packages/net/baresip/patches/100-avcodec-compat.patch
jow fef6743dcf [packages] baresip: fix build against libavcodec by removing broken compat code
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-06 11:54:43 +00:00

14 lines
241 B
Diff

--- 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 {