[FFmpeg-devel] [PATCH 4/4] lav*, tests: remove several register_all calls

James Almer jamrial at gmail.com
Sun Apr 1 02:32:24 EEST 2018


On 3/31/2018 8:24 PM, Josh de Kock wrote:
> avdevice_register_all() is still required to register devices into
> lavf (this is required due to lavd being somewhat of a hack).
> 

[...]

> diff --git a/tools/uncoded_frame.c b/tools/uncoded_frame.c
> index 3aaa4b6897..efea445b5f 100644
> --- a/tools/uncoded_frame.c
> +++ b/tools/uncoded_frame.c
> @@ -62,10 +62,6 @@ int main(int argc, char **argv)
>      out_dev_name = argv + 2;
>      nb_out_dev = argc - 2;
>  
> -    av_register_all();
> -    avdevice_register_all();

Shouldn't this be left in place, based on your commit message?

> -    avfilter_register_all();
> -
>      /* Create input graph */
>      if (!(in_graph = avfilter_graph_alloc())) {
>          ret = AVERROR(ENOMEM);


More information about the ffmpeg-devel mailing list