You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	nutdec: do not set has_b_frames
It is not supposed to be set by demuxers.
This commit is contained in:
		| @@ -399,7 +399,6 @@ static int decode_stream_header(NUTContext *nut) | ||||
|     GET_V(stc->msb_pts_shift, tmp < 16); | ||||
|     stc->max_pts_distance = ffio_read_varlen(bc); | ||||
|     GET_V(stc->decode_delay, tmp < 1000); // sanity limit, raise this if Moore's law is true | ||||
|     st->codec->has_b_frames = stc->decode_delay; | ||||
|     ffio_read_varlen(bc); // stream flags | ||||
|  | ||||
|     GET_V(st->codec->extradata_size, tmp < (1 << 30)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user