[Ffmpeg-devel] MPEG2 seeking broken

Michael Niedermayer michaelni
Tue Mar 14 22:35:01 CET 2006


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



More information about the ffmpeg-devel mailing list