[SCM] libav/experimental: swf timestamps are 16 bits
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:41:20 UTC 2013
The following commit has been merged in the experimental branch:
commit 36a12218dbaa51acb246377433f4bfbb6a0c1cce
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date: Sat Mar 14 22:51:38 2009 +0000
swf timestamps are 16 bits
Originally committed as revision 17969 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c
index 2741218..6f70926 100644
--- a/libavformat/swfdec.c
+++ b/libavformat/swfdec.c
@@ -111,7 +111,7 @@ static int swf_read_packet(AVFormatContext *s, AVPacket *pkt)
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) {
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list