diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-03-14 22:51:38 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-03-14 22:51:38 +0000 |
commit | 36a12218dbaa51acb246377433f4bfbb6a0c1cce (patch) | |
tree | 2e9ced946a71c8e4089a5e0b8cb0898c07c22d36 | |
parent | 40a1d41fd22459290526fb38f3d327f1c167fe83 (diff) | |
download | ffmpeg-36a12218dbaa51acb246377433f4bfbb6a0c1cce.tar.gz |
swf timestamps are 16 bits
Originally committed as revision 17969 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/swfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c index 27412180e9..6f7092694c 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) { |