[FFmpeg-devel] [PATCH] Reset audio_resample to 0 only if audio_sync_method is <= 1.

Stefano Sabatini stefano.sabatini-lala
Mon Jan 24 18:10:15 CET 2011


On date Sunday 2011-01-23 14:58:00 -0500, Justin Ruggles encoded:
> On 01/22/2011 08:24 PM, Stefano Sabatini wrote:
> 
> > Indeed if audio_sync_method is >1 the resampler is used for audio
> > drift compensation, and do_audio_out() aborts for an assert failure
> > because audio_resample is not set.
> > 
> > Fix issue 2516, which was introduced by SVN r25939.
> > ---
> >  ffmpeg.c |    3 ++-
> >  1 files changed, 2 insertions(+), 1 deletions(-)
[...]
> looks ok, but maybe you should also add a comment.

Good idea, updated.
-- 
FFmpeg = Fancy Fierce Multimedia Philosophical Extended Guru



More information about the ffmpeg-devel mailing list