aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/sol.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-10-18 09:43:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-18 09:43:39 +0000
commit595bf4ef63fc9a4d863b5ecc53605640301f2273 (patch)
treeb7dddab15a994a4ea2256c94d55ce95fe7526588 /libavformat/sol.c
parent15862411e696ffab99821e6204f48806d1b34ead (diff)
downloadffmpeg-595bf4ef63fc9a4d863b5ecc53605640301f2273.tar.gz
set correct timebase
Originally committed as revision 3607 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/sol.c')
-rw-r--r--libavformat/sol.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/sol.c b/libavformat/sol.c
index 2631310c9b..038feeaac6 100644
--- a/libavformat/sol.c
+++ b/libavformat/sol.c
@@ -117,7 +117,8 @@ static int sol_read_header(AVFormatContext *s,
st->codec.codec_tag = id;
st->codec.codec_id = codec;
st->codec.channels = channels;
- st->codec.sample_rate = rate;
+ st->codec.sample_rate = rate;
+ av_set_pts_info(st, 64, 1, rate);
return 0;
}