Commit 0f450ac5 authored by Piotr Bandurski's avatar Piotr Bandurski Committed by Michael Niedermayer

siff: set duration

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent fb9d5850
......@@ -128,6 +128,8 @@ static int siff_parse_vbv1(AVFormatContext *s, SIFFContext *c, AVIOContext *pb)
st->codec->width = width;
st->codec->height = height;
st->codec->pix_fmt = AV_PIX_FMT_PAL8;
st->nb_frames =
st->duration = c->frames;
avpriv_set_pts_info(st, 16, 1, 12);
c->cur_frame = 0;
......
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