[FFmpeg-cvslog] r22868 - trunk/libavformat/vqf.c

vitor subversion
Tue Apr 13 03:19:59 CEST 2010


Author: vitor
Date: Tue Apr 13 03:19:59 2010
New Revision: 22868

Log:
Use a suitable timebase in VQF demuxer

Modified:
   trunk/libavformat/vqf.c

Modified: trunk/libavformat/vqf.c
==============================================================================
--- trunk/libavformat/vqf.c	Tue Apr 13 02:48:49 2010	(r22867)
+++ trunk/libavformat/vqf.c	Tue Apr 13 03:19:59 2010	(r22868)
@@ -189,6 +189,7 @@ static int vqf_read_header(AVFormatConte
         return -1;
     }
     c->frame_bit_len = st->codec->bit_rate*size/st->codec->sample_rate;
+    av_set_pts_info(st, 64, 1, st->codec->sample_rate);
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list