summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2012-11-25 13:51:03 +0000
committerLuca Barbato <lu_zero@gentoo.org>2012-11-25 13:51:03 +0000
commitf20d9970a74126295f82e2dc9cf047c4245e4e78 (patch)
treea1b48706f307c2f2ac904ceadc9f2ff2bd5cb8e9 /media-libs/FusionSound/files
parentremoved initial broken src_test subsequent to a prompt from Afrever wrt Bug #... (diff)
downloadgentoo-2-f20d9970a74126295f82e2dc9cf047c4245e4e78.tar.gz
gentoo-2-f20d9970a74126295f82e2dc9cf047c4245e4e78.tar.bz2
gentoo-2-f20d9970a74126295f82e2dc9cf047c4245e4e78.zip
Support libav-9
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 1191738E)
Diffstat (limited to 'media-libs/FusionSound/files')
-rw-r--r--media-libs/FusionSound/files/FusionSound-1.1.1-libav-9.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-libs/FusionSound/files/FusionSound-1.1.1-libav-9.patch b/media-libs/FusionSound/files/FusionSound-1.1.1-libav-9.patch
new file mode 100644
index 000000000000..35295d37cf89
--- /dev/null
+++ b/media-libs/FusionSound/files/FusionSound-1.1.1-libav-9.patch
@@ -0,0 +1,21 @@
+diff -burN FusionSound-1.1.1.old//interfaces/IFusionSoundMusicProvider/ifusionsoundmusicprovider_ffmpeg.c FusionSound-1.1.1/interfaces/IFusionSoundMusicProvider/ifusionsoundmusicprovider_ffmpeg.c
+--- FusionSound-1.1.1.old//interfaces/IFusionSoundMusicProvider/ifusionsoundmusicprovider_ffmpeg.c 2012-11-25 14:41:46.306782213 +0100
++++ FusionSound-1.1.1/interfaces/IFusionSoundMusicProvider/ifusionsoundmusicprovider_ffmpeg.c 2012-11-25 14:46:14.151772465 +0100
+@@ -1197,7 +1197,7 @@
+ return DFB_FAILURE;
+ }
+
+- if (av_find_stream_info( data->ctx ) < 0) {
++ if (avformat_find_stream_info( data->ctx, NULL ) < 0) {
+ D_ERROR( "IFusionSoundMusicProvider_FFmpeg: couldn't find stream info!\n" );
+ IFusionSoundMusicProvider_FFmpeg_Destruct( thiz );
+ return DFB_FAILURE;
+@@ -1218,7 +1218,7 @@
+
+ data->codec = data->st->codec;
+ c = avcodec_find_decoder( data->codec->codec_id );
+- if (!c || avcodec_open( data->codec, c ) < 0) {
++ if (!c || avcodec_open2( data->codec, c, NULL ) < 0) {
+ D_ERROR( "IFusionSoundMusicProvider_FFmpeg: couldn't find audio decoder!\n" );
+ IFusionSoundMusicProvider_FFmpeg_Destruct( thiz );
+ return DFB_FAILURE;