summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscop <scop>2007-08-12 14:58:22 +0000
committerscop <scop>2007-08-12 14:58:22 +0000
commit23a8f4b731ce6a74c546798e4d334710d6bcca9a (patch)
tree03cd2f81fa4deff0bb68f42ed2302f70c2d5f4ab
parent798ddac071fafc0563683a3bc2c04a3517aa1232 (diff)
downloadvdr-plugin-dxr3-23a8f4b731ce6a74c546798e4d334710d6bcca9a.tar.gz
vdr-plugin-dxr3-23a8f4b731ce6a74c546798e4d334710d6bcca9a.tar.bz2
Fix build with newish ffmpeg.
-rw-r--r--HISTORY4
-rw-r--r--dxr3ffmpeg.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/HISTORY b/HISTORY
index 30c3129..d161694 100644
--- a/HISTORY
+++ b/HISTORY
@@ -331,3 +331,7 @@ NOTE: I havent found time to include all of the languages, will be done in pre2
- apply AC3 and WSS patches which were in patches/ in previous releases
- add setup option for enabling/disabling WSS (Ville Skyttä)
- various minor tweaks
+
+200x-xx-xx: Version x.x.x
+
+- Fix build with >= ~2007-07 ffmpeg (Ville Skyttä)
diff --git a/dxr3ffmpeg.c b/dxr3ffmpeg.c
index ce96126..73b31e4 100644
--- a/dxr3ffmpeg.c
+++ b/dxr3ffmpeg.c
@@ -23,6 +23,9 @@
#include "dxr3configdata.h"
#include <vdr/tools.h>
+// Only in private headers in >= ~2007-07 ffmpeg
+extern AVCodec mp2_decoder;
+
// ==================================
//! constructor
cDxr3Ffmpeg::cDxr3Ffmpeg()