summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-06-30 15:09:21 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-06-30 15:09:21 +0000
commit641aa661f669893dd039eab253f5ec5455f5c730 (patch)
tree0565c4558e27404fb83a2d3ccf9cd88a79e3ada0
parent986ebcdb1b9c9a585c25ffaa284602f03bf1ba04 (diff)
10l
Originally committed as revision 3273 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 ef512b2ca2..4d8c79feef 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -444,7 +444,7 @@ static void do_audio_out(AVFormatContext *s,
if(verbose > 2)
fprintf(stderr, "compensating audio timestamp drift:%f compensation:%d in:%d\n", delta, comp, enc->sample_rate);
// fprintf(stderr, "drift:%f len:%d opts:%lld ipts:%lld fifo:%d\n", delta, len/4, ost->sync_opts, (int64_t)(ost->sync_ipts * enc->sample_rate), fifo_size(&ost->fifo, ost->fifo.rptr)/(ost->st->codec.channels * 2));
- av_resample_compensate(*(struct AVResampleContext**)ost->resample, delta, enc->sample_rate);
+ av_resample_compensate(*(struct AVResampleContext**)ost->resample, comp, enc->sample_rate);
}
}else
ost->sync_opts= lrintf(ost->sync_ipts * enc->sample_rate)