Mercurial > libavformat.hg
changeset 4715:2b75450ca0a9 libavformat
swf timestamps are 16 bits
author | bcoudurier |
---|---|
date | Sat, 14 Mar 2009 22:51:38 +0000 |
parents | 6e9e1f5426a5 |
children | 7c99a46b3f3d |
files | swfdec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/swfdec.c Sat Mar 14 22:49:01 2009 +0000 +++ b/swfdec.c Sat Mar 14 22:51:38 2009 +0000 @@ -111,7 +111,7 @@ 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) {