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

Ramiro Polla ramiro.polla
Mon Jan 25 03:05:08 CET 2010

On Thu, Jan 21, 2010 at 6:43 PM, Reinhard Tartler <siretart at tauware.de> wrote:
> On Do, Jan 21, 2010 at 21:23:10 (CET), M?ns Rullg?rd wrote:
>> 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.
> That's ubuntu. debian (currently) allows only the crippled version.
>>> 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.
> sounds most usable.

Patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mismatched_configurations.diff
Type: text/x-diff
Size: 1604 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100125/f735aaf8/attachment.diff>

More information about the ffmpeg-devel mailing list