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

Ramiro Polla ramiro.polla
Thu Jan 21 21:18:22 CET 2010


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...

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmdutils_avcodec_configuration.diff
Type: text/x-diff
Size: 521 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100121/4b739c1e/attachment.diff>



More information about the ffmpeg-devel mailing list