diff options
author | Mark Wachsler <wachsler-at-google.com@ffmpeg.org> | 2017-09-07 09:42:07 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-09-08 13:48:40 +0200 |
commit | fde5c7dc79eb017790ba232442ad2a4eecea4bf1 (patch) | |
tree | 553ae98253f0b5e39d22928c2ce3d5120a79ebd7 /LICENSE.md | |
parent | 9b2c3c406fdd2393408847a6180b451c46d417db (diff) | |
download | ffmpeg-fde5c7dc79eb017790ba232442ad2a4eecea4bf1.tar.gz |
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 <michael@niedermayer.cc>
Diffstat (limited to 'LICENSE.md')
0 files changed, 0 insertions, 0 deletions