aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-03-14 03:14:01 +0000
committerJanne Grunau <janne-libav@jannau.net>2012-03-14 15:34:50 +0100
commitd3d1b25e6991aaa171c1a4082164e15e6e5b1b83 (patch)
tree6a1cbedce2650bf553adb5fab6512579ad8a9e37 /libavformat
parent05e0061ef6494ced1f74881d4fa3d4a0dd6ddb69 (diff)
downloadffmpeg-d3d1b25e6991aaa171c1a4082164e15e6e5b1b83.tar.gz
jv demux: set video stream duration
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/jvdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/jvdec.c b/libavformat/jvdec.c
index c42e302bda..567f4625e0 100644
--- a/libavformat/jvdec.c
+++ b/libavformat/jvdec.c
@@ -79,6 +79,7 @@ static int read_header(AVFormatContext *s)
vst->codec->codec_tag = 0; /* no fourcc */
vst->codec->width = avio_rl16(pb);
vst->codec->height = avio_rl16(pb);
+ vst->duration =
vst->nb_frames =
ast->nb_index_entries = avio_rl16(pb);
avpriv_set_pts_info(vst, 64, avio_rl16(pb), 1000);