You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	ffprobe: Don't try and decode things that have no dec_ctx
The last instance of a missing dec_ctx check from the merge. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
		| @@ -1956,7 +1956,7 @@ static av_always_inline int process_frame(WriterContext *w, | ||||
|     AVSubtitle sub; | ||||
|     int ret = 0, got_frame = 0; | ||||
|  | ||||
|     if (dec_ctx->codec) { | ||||
|     if (dec_ctx && dec_ctx->codec) { | ||||
|         switch (par->codec_type) { | ||||
|         case AVMEDIA_TYPE_VIDEO: | ||||
|             ret = avcodec_decode_video2(dec_ctx, frame, &got_frame, pkt); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user