diff options
Diffstat (limited to 'chromium/third_party/ffmpeg/libavfilter/af_atempo.c')
-rw-r--r-- | chromium/third_party/ffmpeg/libavfilter/af_atempo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/ffmpeg/libavfilter/af_atempo.c b/chromium/third_party/ffmpeg/libavfilter/af_atempo.c index c474d6a58cd..6a3fd61e604 100644 --- a/chromium/third_party/ffmpeg/libavfilter/af_atempo.c +++ b/chromium/third_party/ffmpeg/libavfilter/af_atempo.c @@ -1058,11 +1058,11 @@ static int push_samples(ATempoContext *atempo, outlink->time_base); ret = ff_filter_frame(outlink, atempo->dst_buffer); - if (ret < 0) - return ret; atempo->dst_buffer = NULL; atempo->dst = NULL; atempo->dst_end = NULL; + if (ret < 0) + return ret; atempo->nsamples_out += n_out; return 0; |