summaryrefslogtreecommitdiff
path: root/libavcodec/mjpegenc_common.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-10 00:20:26 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-23 10:14:25 +0100
commitd26198ada3279e9d7ef5d3d2cca13b0eff5144f0 (patch)
tree9660cec663e721d0e8a6629a0d23cb7e0a747827 /libavcodec/mjpegenc_common.c
parentf180f515de4428e56514a86ea76eaa13e472f87c (diff)
avcodec/g2meet, mjpegdec: Factor out common VLC initialization code
While just at it, remove the nb_codes parameter: It is redundant (the number of codes is implicitly contained in the array containing how many entries of a specific size there are) and for this reason it might even be wrong, so it is better to check what is actually used instead. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/mjpegenc_common.c')
0 files changed, 0 insertions, 0 deletions