You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avcodec/mjpegdec: fix len computation in ff_mjpeg_decode_dqt()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -189,7 +189,7 @@ int ff_mjpeg_decode_dqt(MJpegDecodeContext *s) | ||||
|                                  s->quant_matrixes[index][s->scantable.permutated[8]]) >> 1; | ||||
|         av_log(s->avctx, AV_LOG_DEBUG, "qscale[%d]: %d\n", | ||||
|                index, s->qscale[index]); | ||||
|         len -= 65; | ||||
|         len -= 1 + 64 * (1+pr); | ||||
|     } | ||||
|     return 0; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user