You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	bfi: set duration
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
				
					committed by
					
						 Michael Niedermayer
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							de89dff8da
						
					
				
				
					commit
					cb8163d0bd
				
			| @@ -92,6 +92,8 @@ static int bfi_read_header(AVFormatContext * s) | ||||
|     vstream->codec->codec_type = AVMEDIA_TYPE_VIDEO; | ||||
|     vstream->codec->codec_id   = AV_CODEC_ID_BFI; | ||||
|     vstream->codec->pix_fmt    = AV_PIX_FMT_PAL8; | ||||
|     vstream->nb_frames         = | ||||
|     vstream->duration          = bfi->nframes; | ||||
|  | ||||
|     /* Set up the audio codec now... */ | ||||
|     astream->codec->codec_type      = AVMEDIA_TYPE_AUDIO; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user