[FFmpeg-devel] [PATCH 04/15] lavfi/aevalsrc: raise filter_frame() error.
Stefano Sabatini
stefasab at gmail.com
Thu Mar 14 21:43:09 CET 2013
On date Wednesday 2013-03-13 10:10:57 +0100, Clément Bœsch encoded:
> ---
> libavfilter/asrc_aevalsrc.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/libavfilter/asrc_aevalsrc.c b/libavfilter/asrc_aevalsrc.c
> index 70908e6..409399f 100644
> --- a/libavfilter/asrc_aevalsrc.c
> +++ b/libavfilter/asrc_aevalsrc.c
> @@ -236,9 +236,7 @@ static int request_frame(AVFilterLink *outlink)
> samplesref->sample_rate = eval->sample_rate;
> eval->pts += eval->nb_samples;
>
> - ff_filter_frame(outlink, samplesref);
> -
> - return 0;
> + return ff_filter_frame(outlink, samplesref);
> }
Looks good of course.
--
FFmpeg = Freak and Fascinating Maxi Patchable Everlasting Generator
More information about the ffmpeg-devel
mailing list