mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
jv demux: set video stream duration
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
This commit is contained in:
parent
05e0061ef6
commit
d3d1b25e69
@ -79,6 +79,7 @@ static int read_header(AVFormatContext *s)
|
|||||||
vst->codec->codec_tag = 0; /* no fourcc */
|
vst->codec->codec_tag = 0; /* no fourcc */
|
||||||
vst->codec->width = avio_rl16(pb);
|
vst->codec->width = avio_rl16(pb);
|
||||||
vst->codec->height = avio_rl16(pb);
|
vst->codec->height = avio_rl16(pb);
|
||||||
|
vst->duration =
|
||||||
vst->nb_frames =
|
vst->nb_frames =
|
||||||
ast->nb_index_entries = avio_rl16(pb);
|
ast->nb_index_entries = avio_rl16(pb);
|
||||||
avpriv_set_pts_info(vst, 64, avio_rl16(pb), 1000);
|
avpriv_set_pts_info(vst, 64, avio_rl16(pb), 1000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user