You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/imx: set video stream duration
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user