aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/startcode.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-22 15:54:08 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-27 11:51:01 +0100
commitd4cce1514edf023145fb5a8af9c52bb8e95bede1 (patch)
tree127307c72a201cda5428a2587f117c75480e3553 /libavcodec/startcode.h
parent6f36eb0da71d22aadf8f056f0966bd86656ea57e (diff)
downloadffmpeg-d4cce1514edf023145fb5a8af9c52bb8e95bede1.tar.gz
avcodec/webp: Use uint8_t for code lengths
They are always in the range 0..15, so using an int is not necessary. Furthermore, using an int would not work if sizeof(int) != 4 as ff_init_vlc_sparse() can only handle uint8_t, uint16_t and uint32_t lengths. Reviewed-by: zhilizhao(赵志立) <quinkblack@foxmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/startcode.h')
0 files changed, 0 insertions, 0 deletions