From c43042a7d4b2dde0936ded278ce94be436390ba8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 2 Jul 2004 20:20:57 +0000 Subject: [PATCH] 100l fix by (Wolfram Gloger ) Originally committed as revision 3286 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ? */