[FFmpeg-devel] [PATCH] Add additional FFV1 fate tests

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Nov 6 22:36:15 CET 2013


On Wed, Nov 06, 2013 at 10:24:23PM +0100, Peter B. wrote:
> On 11/06/2013 09:18 PM, Michael Niedermayer wrote:
> > On Wed, Nov 06, 2013 at 02:48:23PM +0100, Peter B. wrote:
> >> (libavcodec/ffv1enc.c):
> >> Lines 849-922: Looks like 2pass-related, but LCOV says it's not executed
> >> in my 2pass tests
> > the first question is, is the code really not executed
> > (the coverage stuff can give wrong results with optimizations)
> 
> The 2nd-pass file is created without errors, so I'd *assume* it's
> executed but I don't know.
> Is there any way I could check this?

Hm, the brute force way: compile that file manually with -O0 when
building FFmpeg... Or add a printf.
Better debug info by building with "-g2 -gdwarf-4" might in theory
help, too, though I've never tested if it avoids lcov issues.


More information about the ffmpeg-devel mailing list