aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h261data.c
diff options
context:
space:
mode:
authorMark Wachsler <wachsler-at-google.com@ffmpeg.org>2017-09-07 09:42:07 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2017-09-08 13:48:40 +0200
commitfde5c7dc79eb017790ba232442ad2a4eecea4bf1 (patch)
tree553ae98253f0b5e39d22928c2ce3d5120a79ebd7 /libavcodec/h261data.c
parent9b2c3c406fdd2393408847a6180b451c46d417db (diff)
downloadffmpeg-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 'libavcodec/h261data.c')
0 files changed, 0 insertions, 0 deletions