diff options
author | Mark Wachsler <[email protected]> | 2017-09-07 09:42:07 -0400 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2017-09-08 13:48:40 +0200 |
commit | fde5c7dc79eb017790ba232442ad2a4eecea4bf1 (patch) | |
tree | 553ae98253f0b5e39d22928c2ce3d5120a79ebd7 /libavutil/tests/pixelutils.c | |
parent | 9b2c3c406fdd2393408847a6180b451c46d417db (diff) |
libavcodec/h264_parse: don't use uninitialized value when chroma_format_idc==0
When parsing a monochrome file, chroma_log2_weight_denom was used without
being initialized, which could lead to a bogus error message being printed, e.g.
[h264 @ 0x61a000026480] chroma_log2_weight_denom 24576 is out of range
It also could led to warnings using AddressSanitizer.
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavutil/tests/pixelutils.c')
0 files changed, 0 insertions, 0 deletions