[FFmpeg-devel] [PATCH] Add FFMPEG_VERSION into the binary libs

Nicolas George george at nsup.org
Fri Dec 19 18:22:30 CET 2014


Le nonidi 29 frimaire, an CCXXIII, Michael Niedermayer a écrit :
> +#include "libavutil/ffversion.h"
> +char *av_codec_ffversion = "FFmpeg version " FFMPEG_VERSION;

This defines two variables: a pointer, and an anonymous const array of chars
containing the string. Only the second one is needed, so I suggest:

const char av_codec_ffversion[] = ...;

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141219/fa26abc1/attachment.asc>


More information about the ffmpeg-devel mailing list