Commit efd8b009 authored by Vitor Sessak's avatar Vitor Sessak

Use a suitable timebase in VQF demuxer

Originally committed as revision 22868 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b591c7af
...@@ -189,6 +189,7 @@ static int vqf_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -189,6 +189,7 @@ static int vqf_read_header(AVFormatContext *s, AVFormatParameters *ap)
return -1; return -1;
} }
c->frame_bit_len = st->codec->bit_rate*size/st->codec->sample_rate; c->frame_bit_len = st->codec->bit_rate*size/st->codec->sample_rate;
av_set_pts_info(st, 64, 1, st->codec->sample_rate);
return 0; return 0;
} }
......
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