diff options
Diffstat (limited to 'media-libs/FusionSound/files/FusionSound-1.1.1-segfault.patch')
-rw-r--r-- | media-libs/FusionSound/files/FusionSound-1.1.1-segfault.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/media-libs/FusionSound/files/FusionSound-1.1.1-segfault.patch b/media-libs/FusionSound/files/FusionSound-1.1.1-segfault.patch new file mode 100644 index 000000000000..52b96b0bfc37 --- /dev/null +++ b/media-libs/FusionSound/files/FusionSound-1.1.1-segfault.patch @@ -0,0 +1,24 @@ +Fixes a segfault on probe. + +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 +@@ -1138,7 +1138,7 @@ IFusionSoundMusicProvider_FFmpeg_WaitSta + static DFBResult + Probe( IFusionSoundMusicProvider_ProbeContext *ctx ) + { +- AVProbeData pd; ++ AVProbeData pd = { 0 }; + AVInputFormat *format; + + av_register_all(); +@@ -1165,7 +1165,7 @@ Construct( IFusionSoundMusicProvider *th + const char *filename, + DirectStream *stream ) + { +- AVProbeData pd; ++ AVProbeData pd = { 0 }; + AVInputFormat *fmt; + AVCodec *c; + unsigned char buf[64]; |