aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/subviewer1dec.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-06-30 21:09:50 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-07-01 00:33:01 +0200
commitbd0f14123fd8c7ff1c27b726d143f84c67f3a522 (patch)
treed19f2fc2219f744951829a7b3108f4e347b90fc2 /libavformat/subviewer1dec.c
parentcd64ead8d96b2d2c300e0ac620fb82b17d6051bf (diff)
downloadffmpeg-bd0f14123fd8c7ff1c27b726d143f84c67f3a522.tar.gz
ffmpeg: only count got_output/errors in decode_error_stat
If threading is used, the first (thread_count - 1) packets are read before any frame/error is returned. Counting this as successful decoding is wrong, because it also happens when no single frame could be decoded. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat/subviewer1dec.c')
0 files changed, 0 insertions, 0 deletions