diff audio.c @ 462:b69898ffc92a libavformat

move time_base (pts_num/pts_den) from AVFormatContext -> AVStream
author michael
date Fri, 21 May 2004 20:43:21 +0000
parents 845f9de2c883
children 60f897e8dd2d
line wrap: on
line diff
--- a/audio.c	Thu May 20 16:00:22 2004 +0000
+++ b/audio.c	Fri May 21 20:43:21 2004 +0000
@@ -230,7 +230,7 @@
     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;
 }