[FFmpeg-cvslog] jv demux: set video stream duration
Paul B Mahol
git at videolan.org
Thu Mar 15 01:40:46 CET 2012
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Mar 14 03:14:01 2012 +0000| [d3d1b25e6991aaa171c1a4082164e15e6e5b1b83] | committer: Janne Grunau
jv demux: set video stream duration
Signed-off-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Janne Grunau <janne-libav at jannau.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d3d1b25e6991aaa171c1a4082164e15e6e5b1b83
---
libavformat/jvdec.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavformat/jvdec.c b/libavformat/jvdec.c
index c42e302..567f462 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);
More information about the ffmpeg-cvslog
mailing list