[FFmpeg-devel] A patch to fix buffer overflow when decoding h264
Michael Niedermayer
michaelni
Wed May 26 17:36:10 CEST 2010
On Wed, May 26, 2010 at 04:12:37PM +0300, Antti Nietosvaara wrote:
> M?ns Rullg?rd wrote:
>> Antti Nietosvaara <antti at ksenos.fi> writes:
>>
>>
>>> I was experiencing crashes when decoding certain h264 videos
>>> (unfortunately it is quite hard to extract the problematic stream for
>>> replication, since its in proprietary DVR format).
>>>
>>
>> If you are able to feed it to libavcodec, clearly you are also able to
>> write it to a file instead. If the stream is in annex-b format, that
>> is all you need to do.
>>
>>
> Fair enough, I dumped the data to the attachment. I tested it with ffplay
> and it did not crash. However, it was able to display image only about 1/3
> of the time I tried (the rest of the time it was just black), so maybe
> there's still some undefined behaviour to look into :)
does valgrid show something (preferably with ffmpeg insteda of ffplay
as thats easier to debug)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100526/b67f468b/attachment.pgp>
More information about the ffmpeg-devel
mailing list