[FFmpeg-devel] [PATCH] parser: Only store overread bytes if there are any in the buffer.

Ramiro Polla ramiro.polla
Wed Apr 22 04:26:36 CEST 2009


On Tue, Apr 21, 2009 at 11:18 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Tue, Apr 21, 2009 at 09:41:45PM -0300, Ramiro Polla wrote:
>> $subj
>> Fixes crash with attached zuff'd file.
> please elaborate on what goes wrong and why this fix is the correct way
> to fix it
> is last_index=0 really the only case that can trigger this?

I don't understand the parser code much. Justin said attached patch
should fix it properly.

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parser_2.diff
Type: text/x-diff
Size: 345 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090421/ca7b0c7f/attachment.diff>

More information about the ffmpeg-devel mailing list