mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
siff: set duration
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
fb9d58509c
commit
0f450ac575
@ -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…
x
Reference in New Issue
Block a user