You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-09-16 08:36:51 +02:00
avcodec/mjpegdec: Remove pointless information from logmessage
There is no reason to add the address of an element of MJpegDecodeContext (which makes logmessage nonreproducible). Also avoid always printing a zero. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -821,8 +821,7 @@ static inline int mjpeg_decode_dc(MJpegDecodeContext *s, int dc_index)
|
||||
code = get_vlc2(&s->gb, s->vlcs[0][dc_index].table, 9, 2);
|
||||
if (code < 0 || code > 16) {
|
||||
av_log(s->avctx, AV_LOG_WARNING,
|
||||
"mjpeg_decode_dc: bad vlc: %d:%d (%p)\n",
|
||||
0, dc_index, &s->vlcs[0][dc_index]);
|
||||
"mjpeg_decode_dc: bad vlc: %d\n", dc_index);
|
||||
return 0xfffff;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user