Revision f66e4f5f ffmpeg.c

View differences:

ffmpeg.c
475 475
                        fprintf(stderr, "adding %d audio samples of silence\n", (int)delta);
476 476
                }
477 477
            }else if(audio_sync_method>1){
478
                int comp= clip(delta, -audio_sync_method, audio_sync_method);
478
                int comp= av_clip(delta, -audio_sync_method, audio_sync_method);
479 479
                assert(ost->audio_resample);
480 480
                if(verbose > 2)
481 481
                    fprintf(stderr, "compensating audio timestamp drift:%f compensation:%d in:%d\n", delta, comp, enc->sample_rate);

Also available in: Unified diff