aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-07-02 20:20:57 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-07-02 20:20:57 +0000
commitc43042a7d4b2dde0936ded278ce94be436390ba8 (patch)
tree079afb7a16fad5b737f433b8c6b00e1f2f1a2e2a
parent37cdf93d6edd8887b95d969523b54f699657745b (diff)
downloadffmpeg-c43042a7d4b2dde0936ded278ce94be436390ba8.tar.gz
100l fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)
Originally committed as revision 3286 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index fc8169ec74..af87833f1e 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -520,7 +520,7 @@ static void do_audio_out(AVFormatContext *s,
AVPacket pkt;
av_init_packet(&pkt);
- ost->sync_opts += size_out / enc->channels;
+ ost->sync_opts += size_out / (2 * enc->channels);
/* output a pcm frame */
/* XXX: change encoding codec API to avoid this ? */