[FFmpeg-devel] [PATCH] Use LIBAV*_VERSION_INT rather than LIBAV*_BUILD in cmdutils.c:show_version()
Michael Niedermayer
michaelni
Sun Jul 13 22:57:15 CEST 2008
On Sun, Jul 13, 2008 at 07:08:44PM +0200, Stefano Sabatini wrote:
> avcodec_build() has been deprecated, LIBAV*_BUILD also look pointless
> so it seems better to directly use LIBAV*_VERSION_INT instead.
>
> Regards.
> --
> FFmpeg = Faboulous and Fostering Multimedia Pitiless Explosive God
> Index: cmdutils.c
> ===================================================================
> --- cmdutils.c (revision 14208)
> +++ cmdutils.c (working copy)
> @@ -223,7 +223,7 @@
> "libavcodec %d\n"
> "libavformat %d\n"
> "libavdevice %d\n",
> - LIBAVUTIL_BUILD, avcodec_build(), LIBAVFORMAT_BUILD, LIBAVDEVICE_BUILD);
> + LIBAVUTIL_VERSION_INT, LIBAVCODEC_VERSION_INT, LIBAVFORMAT_VERSION_INT, LIBAVDEVICE_VERSION_INT);
not ok
avcodec_build() is not the same as LIBAVCODEC_VERSION_INT
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Thouse who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080713/34ca8288/attachment.pgp>
More information about the ffmpeg-devel
mailing list