ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Thu Feb 25 23:04:55 2021 +0100| [e937457b7b63e3b2647ec60b794d1fafcf1e79b9] | committer: Paul B Mahol
avformat/imx: set video stream duration > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e937457b7b63e3b2647ec60b794d1fafcf1e79b9 --- libavformat/imx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/imx.c b/libavformat/imx.c index c7778a91ab..d203ed7a28 100644 --- a/libavformat/imx.c +++ b/libavformat/imx.c @@ -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); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".