[MPlayer-dev-eng] [PATCH] Fix NULL pointer dereference when audio filter fails

Lasse Kärkkäinen tronic+dm9n at trn.iki.fi
Mon Apr 28 17:40:20 CEST 2008


> sh_audio->afilter being NULL will cause segfault in the playback loop.
> Workaround by setting sh_audio and d_audio->sh to NULL if the afilter
> init fails, so that audio decoding is disabled entirely.

Bumping the thread because this is still broken. Patch against current
SVN trunk attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-audio-filter-NULL-ptr-deref.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080428/a578d45f/attachment.bin>


More information about the MPlayer-dev-eng mailing list