aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/intrax8dsp.c
diff options
context:
space:
mode:
authorJun Zhao <jun.zhao@intel.com>2017-06-14 10:08:58 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2017-06-23 13:03:20 +0200
commitea1d07aed96a170d2aaf68a96822485dd20cb346 (patch)
treee8d413103662ec3274b3fb8a31727a6438855aad /libavcodec/intrax8dsp.c
parent24e95f9d4de012f51fdd5767dff0b3142e13ec3a (diff)
downloadffmpeg-ea1d07aed96a170d2aaf68a96822485dd20cb346.tar.gz
lavc/golomb: add value range comment for set_ue_golomb().
set_ue_golomb just support 2^16 - 2 at most, becase this function call put_bits, and put_bits just support write up to 31 bits, when write 32 bit in put_bits, it's will overwrite the bit buffer, and the default assert level is 0, the av_assert2(n <= 31 && value < (1U << n)) in put_bits can not be trigger runtime. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/intrax8dsp.c')
0 files changed, 0 insertions, 0 deletions