diff options
Diffstat (limited to 'media-libs/FusionSound/files/FusionSound-1.1.1-libavformat54.patch')
-rw-r--r-- | media-libs/FusionSound/files/FusionSound-1.1.1-libavformat54.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/media-libs/FusionSound/files/FusionSound-1.1.1-libavformat54.patch b/media-libs/FusionSound/files/FusionSound-1.1.1-libavformat54.patch deleted file mode 100644 index 41f513ae9eff..000000000000 --- a/media-libs/FusionSound/files/FusionSound-1.1.1-libavformat54.patch +++ /dev/null @@ -1,31 +0,0 @@ -Index: FusionSound-1.1.1/interfaces/IFusionSoundMusicProvider/ifusionsoundmusicprovider_ffmpeg.c -=================================================================== ---- FusionSound-1.1.1.orig/interfaces/IFusionSoundMusicProvider/ifusionsoundmusicprovider_ffmpeg.c -+++ FusionSound-1.1.1/interfaces/IFusionSoundMusicProvider/ifusionsoundmusicprovider_ffmpeg.c -@@ -65,7 +65,6 @@ typedef struct { - - DirectStream *stream; - -- AVIOContext pb; - AVFormatContext *ctx; - AVStream *st; - void *iobuf; -@@ -1191,16 +1190,8 @@ Construct( IFusionSoundMusicProvider *th - return D_OOM(); - } - -- if (init_put_byte( &data->pb, data->iobuf, 4096, 0, -- (void*)data, av_read_callback, NULL, -- direct_stream_seekable( stream ) ? av_seek_callback : NULL ) < 0) { -- D_ERROR( "IFusionSoundMusicProvider_FFmpeg: init_put_byte() failed!\n" ); -- IFusionSoundMusicProvider_FFmpeg_Destruct( thiz ); -- return DFB_INIT; -- } -- -- if (av_open_input_stream( &data->ctx, &data->pb, filename, fmt, NULL ) < 0) { -- D_ERROR( "IFusionSoundMusicProvider_FFmpeg: av_open_input_stream() failed!\n" ); -+ if (avformat_open_input( &data->ctx, filename, fmt, NULL ) < 0) { -+ D_ERROR( "IFusionSoundMusicProvider_FFmpeg: avformat_open_input() failed!\n" ); - IFusionSoundMusicProvider_FFmpeg_Destruct( thiz ); - return DFB_FAILURE; - } |