Commit a6d22926 authored by bcoudurier's avatar bcoudurier

swf timestamps are 16 bits

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17969 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bdd7bf13
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment