[MPlayer-dev-eng] [PATCH]signal 11 in module:play_audio

arnaud tonda arnaud.tonda at gmail.com
Tue Oct 5 18:53:30 CEST 2010


hi,
the attached patch add some robustness in fill_audio_out_buffers() function.

in fact, after investigation, i have noticed that in certain cases, notably
when switching audio on DVB TS streams, and also on xvid encoded movies, a
segfault can occured on "play_audio module".

this is due to an erroneous playsize value. this one can be negative, and in
this case the test which was made doesn't trash the "audio packet".

this segfault seems to only occurred with demuxer lavf (not with mpegts).
my ao is alsa.

if needed i can upload some sample tests.

Best regards

-- 
Arnaud Tonda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: audio_module.diff
Type: text/x-patch
Size: 320 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20101005/0b4377c6/attachment.bin>


More information about the MPlayer-dev-eng mailing list