Re: [FFmpeg-devel] [PATCH 2/3] avcodec/mjpegdec: Check initializing Huffman tables

2021-04-03 Thread Michael Niedermayer
On Sat, Apr 03, 2021 at 04:22:26PM +0200, Andreas Rheinhardt wrote: > Signed-off-by: Andreas Rheinhardt > --- > Is it actually intended that the decoder tries to use external Huffman > tables purely based on the value of the option, even when there is no > extradata at all (in which case init_get_

[FFmpeg-devel] [PATCH 2/3] avcodec/mjpegdec: Check initializing Huffman tables

2021-04-03 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- Is it actually intended that the decoder tries to use external Huffman tables purely based on the value of the option, even when there is no extradata at all (in which case init_get_bits() fails)? libavcodec/mjpegdec.c | 3 ++- 1 file changed, 2 insertions(+