You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avcodec/lscr: stop returning error if size of packet is 2 bytes
This commit is contained in:
		| @@ -1597,6 +1597,8 @@ static int decode_frame_lscr(AVCodecContext *avctx, | ||||
|  | ||||
|     if (avpkt->size < 2) | ||||
|         return AVERROR_INVALIDDATA; | ||||
|     if (avpkt->size == 2) | ||||
|         return 0; | ||||
|  | ||||
|     bytestream2_init(gb, avpkt->data, avpkt->size); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user