[FFmpeg-devel] [PATCH] Get avcodec configuration at runtime.

Måns Rullgård mans
Thu Jan 21 21:23:10 CET 2010


Ramiro Polla <ramiro.polla at gmail.com> writes:

> Hi,
>
> Currently cmdutils.c hardcodes FFMPEG_CONFIGURATION to print out in
> the banner. This is a problem when someone updates libavcodec and
> keeps the same ffmpeg executable. For example debian has different
> libavcodec packages with different codecs enabled.
>
> Attached patch makes cmdutils.c use avcodec_configuration(), but
> that's not good also because people might have mixed libav* libraries
> around.
>
> Suggestions welcome...

Print all of them.  To avoid ugly clutter we could check if they are
all the same and print it only once if they are.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list