diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c index 6db3d5ec7f..1f18f4086b 100644 --- a/libavcodec/mjpeg.c +++ b/libavcodec/mjpeg.c @@ -608,6 +608,8 @@ typedef struct MJpegDecodeContext { skip_bits(gb, 8); \ } +static int mjpeg_decode_dht(MJpegDecodeContext *s, UINT8 *buf, int buf_size); + static void build_vlc(VLC *vlc, const UINT8 *bits_table, const UINT8 *val_table, int nb_codes) {