[Ffmpeg-devel] MPEG2 seeking broken

Steve Lhomme steve.lhomme
Wed Mar 15 06:37:19 CET 2006


Michael Niedermayer wrote:
> Hi
> On Tue, Mar 14, 2006 at 01:46:35PM +0100, Steve Lhomme wrote:
>> Hi,
>> Since nobody is able to reproduce this bug or fix it (I think some MPEG 
>> data are handled incorrectly, but I am not able to tell what) I made a 
>> temporary fix to avoid FFMPEG crashing on many (vob) files.
>> See attached patch. Basically it's to avoid accessing data from a NULL 
>> pointer. So I guess it's safe to put it in the official FFMPEG code. 
> patch rejected, checking if the ref frame is NULL in the MB loop is
> not acceptable, check outside and allocate it or disacard the frame

Given you're the maintainer of the code I assume you can come up with a 
better patch for that. I have no idea what this thing is about. I just 
know it's not good to access NULL pointers and that this fixes the bug. 
I will keep my patch in DrFFMPEG until a 'better' fix comes here.


More information about the ffmpeg-devel mailing list