Browse Source

siff: set duration

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Piotr Bandurski Michael Niedermayer 13 years ago
parent
commit
0f450ac575
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/siff.c

+ 2
- 0
libavformat/siff.c View File

@@ -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;


Loading…
Cancel
Save