You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	ffprobe: do not try to decode empty packets.
Fixes sporadic decode failures and trac ticket #997.
This commit is contained in:
		| @@ -1279,7 +1279,7 @@ static void read_packets(WriterContext *w, AVFormatContext *fmt_ctx) | ||||
|         } | ||||
|         if (do_read_frames) { | ||||
|             pkt1 = pkt; | ||||
|             while (1) { | ||||
|             while (pkt1.size) { | ||||
|                 avcodec_get_frame_defaults(&frame); | ||||
|                 ret = get_decoded_frame(fmt_ctx, &frame, &got_frame, &pkt1); | ||||
|                 if (ret < 0 || !got_frame) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user