summaryrefslogtreecommitdiff
path: root/libavformat/audio.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-05-21 20:43:21 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-05-21 20:43:21 +0000
commit9ee91c2f53dbc7cc61e65805d57e0a805b5752d7 (patch)
tree8b9419fb7d80a440bacf3d2783b3599648ee1c3d /libavformat/audio.c
parente8733cc4d9b866643009342ec6839795a059fe53 (diff)
move time_base (pts_num/pts_den) from AVFormatContext -> AVStream
Originally committed as revision 3148 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/audio.c')
-rw-r--r--libavformat/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/audio.c b/libavformat/audio.c
index d40f0f9bc2..00f705c372 100644
--- a/libavformat/audio.c
+++ b/libavformat/audio.c
@@ -230,7 +230,7 @@ static int audio_read_header(AVFormatContext *s1, AVFormatParameters *ap)
st->codec.sample_rate = s->sample_rate;
st->codec.channels = s->channels;
- av_set_pts_info(s1, 48, 1, 1000000); /* 48 bits pts in us */
+ av_set_pts_info(st, 48, 1, 1000000); /* 48 bits pts in us */
return 0;
}