avformat/imx: set video stream duration

pull/371/head
Paul B Mahol 4 years ago
parent 34c805c0fe
commit e937457b7b
  1. 1
      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);

Loading…
Cancel
Save