summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2007-11-08 18:04:39 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2007-11-08 18:04:39 +0000
commit6f7cdcf8f1f6a77c85d1a595ac3478f1ae27b741 (patch)
tree03ff3fd8f9ba81a5bb1ca49f1cd1376cc27c1775 /media-plugins/vdr-dxr3/files
parentmask <sys-devel/gcc-4.1 and sys-libs/libstdc++-v3 in 2007.1 profiles (diff)
downloadhistorical-6f7cdcf8f1f6a77c85d1a595ac3478f1ae27b741.tar.gz
historical-6f7cdcf8f1f6a77c85d1a595ac3478f1ae27b741.tar.bz2
historical-6f7cdcf8f1f6a77c85d1a595ac3478f1ae27b741.zip
Fix building with current ffmpeg, was trying to use function from internal headers. Also keyword ~amd64.
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'media-plugins/vdr-dxr3/files')
-rw-r--r--media-plugins/vdr-dxr3/files/vdr-dxr3-0.2.7-ffmpeg.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-plugins/vdr-dxr3/files/vdr-dxr3-0.2.7-ffmpeg.patch b/media-plugins/vdr-dxr3/files/vdr-dxr3-0.2.7-ffmpeg.patch
new file mode 100644
index 000000000000..ee96e8d95af6
--- /dev/null
+++ b/media-plugins/vdr-dxr3/files/vdr-dxr3-0.2.7-ffmpeg.patch
@@ -0,0 +1,16 @@
+diff -ur dxr3-0.2.7.orig/dxr3ffmpeg.c dxr3-0.2.7/dxr3ffmpeg.c
+--- dxr3-0.2.7.orig/dxr3ffmpeg.c 2007-01-07 23:57:12.000000000 +0200
++++ dxr3-0.2.7/dxr3ffmpeg.c 2007-11-08 19:55:00.000000000 +0200
+@@ -28,8 +28,10 @@
+ cDxr3Ffmpeg::cDxr3Ffmpeg()
+ {
+ avcodec_init();
+- // Register only codec(s) we'll need.
+- register_avcodec(&mp2_decoder);
++ // Only the MP2 decoder would be needed, but individual registration of
++ // codecs bundled with ffmpeg itself does not appear to be really supported
++ // as of ffmpeg 2007-07-xx and later.
++ avcodec_register_all();
+ }
+
+ // ==================================