[FFmpeg-devel] [PATCH] Add FFMPEG_VERSION into the binary libs
Michael Niedermayer
michaelni at gmx.at
Fri Dec 19 18:44:40 CET 2014
On Fri, Dec 19, 2014 at 06:08:58PM +0100, Clément Bœsch wrote:
> On Fri, Dec 19, 2014 at 06:05:43PM +0100, Michael Niedermayer wrote:
> > This simplifies identifying from which revission a binary of a lib came from
>
> revision
>
> >
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> > libavcodec/utils.c | 3 +++
> > libavformat/utils.c | 3 +++
> > 2 files changed, 6 insertions(+)
> >
> > diff --git a/libavcodec/utils.c b/libavcodec/utils.c
> > index 74bf6d5..d044bce 100644
> > --- a/libavcodec/utils.c
> > +++ b/libavcodec/utils.c
> > @@ -66,6 +66,9 @@
> > #include "compat/os2threads.h"
> > #endif
> >
> > +#include "libavutil/ffversion.h"
> > +char *av_codec_ffversion = "FFmpeg version " FFMPEG_VERSION;
>
> don't you need to av_export?
the idea was just adding it into the binary file, but i can add
av_export if thats preferred ?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Avoid a single point of failure, be that a person or equipment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141219/fe27b3cd/attachment.asc>
More information about the ffmpeg-devel
mailing list