[FFmpeg-devel] [PATCH] Set padding_bug_score to zero at the start of each frame

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Mar 4 01:02:09 CET 2014

 <gregory.wolfe <at> kodakalaris.com> writes:

> The full patch is in two patch files

Please merge them.

> +    // If we don't zero out the padding_bug_score 
> at the start of each frame, negative increments
> +    // can accumulate, which results in the padding 
> bug fix-up code not running, and you get an error
> +    // condition from decode_slice() with the message 
> "slice end not reached but screenspace end ...".
> +    // Need to to this here before 
> ff_mpeg4_workaround_bugs() runs because it might reset the
+    // padding_bug_score to some other value. 

I don't know if this comment is needed but ...

> (added by Greg Wolfe, Kodak Alaris)

... this definitely isn't, git blame (and git log) 
report this already.

Thank you for working on this, Carl Eugen

More information about the ffmpeg-devel mailing list