From fef6743dcfbc90048d05956bd63ef7ed27e869a7 Mon Sep 17 00:00:00 2001 From: jow Date: Mon, 6 Feb 2012 11:54:43 +0000 Subject: [PATCH] [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 --- net/baresip/patches/100-avcodec-compat.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/baresip/patches/100-avcodec-compat.patch diff --git a/net/baresip/patches/100-avcodec-compat.patch b/net/baresip/patches/100-avcodec-compat.patch new file mode 100644 index 000000000..2f412d6db --- /dev/null +++ b/net/baresip/patches/100-avcodec-compat.patch @@ -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 { -- 2.11.0