[FFmpeg-devel] [PATCH] ffplay: do not call avcodec_register_all() explicitly

Marton Balint cus at passwd.hu
Sun Nov 24 23:09:52 CET 2013


On Sun, 24 Nov 2013, Stefano Sabatini wrote:

> avcodec_register_all() is implicitly called by av_register_all().
> ---
> ffplay.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/ffplay.c b/ffplay.c
> index 137837c..6df831c 100644
> --- a/ffplay.c
> +++ b/ffplay.c
> @@ -3546,7 +3546,6 @@ int main(int argc, char **argv)
>     parse_loglevel(argc, argv, options);
>
>     /* register all codecs, demux and protocols */
> -    avcodec_register_all();
> #if CONFIG_AVDEVICE
>     avdevice_register_all();
> #endif

LGTM, thanks.

Marton


More information about the ffmpeg-devel mailing list