Commit cb8163d0 authored by Piotr Bandurski's avatar Piotr Bandurski Committed by Michael Niedermayer

bfi: set duration

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent de89dff8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment