[FFmpeg-cvslog] r17969 - trunk/libavformat/swfdec.c

bcoudurier subversion
Sat Mar 14 23:51:39 CET 2009


Author: bcoudurier
Date: Sat Mar 14 23:51:38 2009
New Revision: 17969

Log:
swf timestamps are 16 bits

Modified:
   trunk/libavformat/swfdec.c

Modified: trunk/libavformat/swfdec.c
==============================================================================
--- trunk/libavformat/swfdec.c	Sat Mar 14 23:49:01 2009	(r17968)
+++ trunk/libavformat/swfdec.c	Sat Mar 14 23:51:38 2009	(r17969)
@@ -111,7 +111,7 @@ static int swf_read_packet(AVFormatConte
                 return -1;
             vst->codec->codec_type = CODEC_TYPE_VIDEO;
             vst->codec->codec_id = codec_get_id(swf_codec_tags, get_byte(pb));
-            av_set_pts_info(vst, 64, 256, swf->frame_rate);
+            av_set_pts_info(vst, 16, 256, swf->frame_rate);
             vst->codec->time_base = (AVRational){ 256, swf->frame_rate };
             len -= 8;
         } else if (tag == TAG_STREAMHEAD || tag == TAG_STREAMHEAD2) {




More information about the ffmpeg-cvslog mailing list