mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-27 09:43:34 +00:00
avformat/imx: set video stream duration
This commit is contained in:
parent
34c805c0fe
commit
e937457b7b
@ -66,6 +66,7 @@ static int simbiosis_imx_read_header(AVFormatContext *s)
|
||||
vst->codecpar->format = AV_PIX_FMT_PAL8;
|
||||
vst->codecpar->codec_id = AV_CODEC_ID_SIMBIOSIS_IMX;
|
||||
vst->start_time = 0;
|
||||
vst->duration =
|
||||
vst->nb_frames = avio_rl32(pb);
|
||||
rate = avio_rl16(pb);
|
||||
avio_skip(pb, 12);
|
||||
|
Loading…
Reference in New Issue
Block a user