[FFmpeg-devel] [PATCH] Reinit variables for padding bugs workaround in MPEG4 streams
michaelni at gmx.at
Fri Jul 1 02:38:35 CEST 2011
On Tue, Jun 28, 2011 at 10:04:11PM +0400, Anatoly Nenashev wrote:
> There is a patch in attachment which fixes the issue described in Ticket
> 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.
The patch below simply breaks the pading bug detection.
About why we cant just always skip garbage at the end, that breaks
error detection for error concealment at least but possibly more.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel