ffmpeg: factorize quality calculation
Calculate quality value once per stream in print_report().
Also fix segfault, as coded_frame can be NULL.
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
Showing
Please
register
or
sign in
to comment