[FFmpeg-devel] [PATCH 07/13] src_buffer: move audio format change check in a separate function.
Stefano Sabatini
stefasab at gmail.com
Sun Apr 29 17:47:18 CEST 2012
On date Saturday 2012-04-28 16:31:49 +0200, Nicolas George encoded:
>
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
> libavfilter/src_buffer.c | 153 ++++++++++++++++++++++++++--------------------
> 1 files changed, 86 insertions(+), 67 deletions(-)
>
> diff --git a/libavfilter/src_buffer.c b/libavfilter/src_buffer.c
> index 52c4c4a..4c994c8 100644
> --- a/libavfilter/src_buffer.c
> +++ b/libavfilter/src_buffer.c
> @@ -69,6 +69,28 @@ typedef struct {
> return AVERROR(EINVAL);\
> }
>
> +static int insert_filter(BufferSourceContext *abuffer,
> + AVFilterLink *link, AVFilterContext **filt_ctx,
> + const char *filt_name);
> +static void remove_filter(AVFilterContext **filt_ctx);
> +static int reconfigure_filter(BufferSourceContext *abuffer, AVFilterContext *filt_ctx);
Please avoid the forward declarations.
Looks good otherwise.
--
FFmpeg = Fundamental Frenzy Mean Problematic Elegant Gymnast
More information about the ffmpeg-devel
mailing list