[FFmpeg-devel] [PATCH 1/2] lavc/mediacodec: factorize static fields initialization
Matthieu Bouron
matthieu.bouron at gmail.com
Tue May 17 16:44:57 CEST 2016
On Tue, May 17, 2016 at 03:20:53PM +0200, Matthieu Bouron wrote:
> From: Matthieu Bouron <matthieu.bouron at stupeflix.com>
>
> ---
> libavcodec/mediacodec_wrapper.c | 167 ++++++++++++++--------------------------
> 1 file changed, 57 insertions(+), 110 deletions(-)
>
> diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c
> index 6b3f905..8ce3b32 100644
> --- a/libavcodec/mediacodec_wrapper.c
> +++ b/libavcodec/mediacodec_wrapper.c
> @@ -958,83 +958,101 @@ struct FFAMediaCodec {
> int has_get_i_o_buffer;
> };
>
> -FFAMediaCodec* ff_AMediaCodec_createCodecByName(const char *name)
> +static int ff_AMediaCodec_init_static_fields(FFAMediaCodec *codec)
ff_ prefix removed locally as this function is not meant to be exported.
[...]
More information about the ffmpeg-devel
mailing list