[FFmpeg-devel] [PATCH] Reinit variables for padding bugs workaround in MPEG4 streams

Anatoly Nenashev anatoly.nenashev at ovsoft.ru
Thu Jun 30 23:33:18 CEST 2011

On 28.06.2011 22:04, Anatoly Nenashev wrote:
> Hi!
> There is a patch in attachment which fixes the issue described in 
> Ticket 302:
> https://ffmpeg.org/trac/ffmpeg/ticket/302.
> The problem arises in a case when the frame contains resync markers 
> and some garbage bytes after last slice's end.
> The idea of solution is to reinitialize variables used in padding bugs 
> workaround at the beginning of each frame.
> Regards,
> Anatoly.

Ping. Michael, please comment. I don't clearly understand the meaning of 
padding bug's workaround thus there may be a better solution for this issue.
But problems will always arise in a situation described above.

More information about the ffmpeg-devel mailing list