Commit c0cac18f authored by michael's avatar michael

100l(audio sync) fix by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3283 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 313e3d6c
......@@ -442,7 +442,7 @@ static void do_audio_out(AVFormatContext *s,
if(fabs(delta) > 50){
if(ist->is_start){
if(byte_delta < 0){
byte_delta= FFMIN(byte_delta, size);
byte_delta= FFMAX(byte_delta, -size);
size += byte_delta;
buf -= byte_delta;
if(verbose > 2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment