From 8bceb6af09c3c2db5d111c06244901ce503c7a72 Mon Sep 17 00:00:00 2001 From: Nick Kurshev Date: Sun, 12 May 2002 15:53:25 +0000 Subject: [PATCH] build info for ABI Originally committed as revision 489 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 2 ++ libavcodec/utils.c | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 3763f7f..cd42058 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -389,6 +389,8 @@ extern AVCodec *first_avcodec; /* returns LIBAVCODEC_VERSION_INT constant */ unsigned avcodec_version( void ); +/* returns LIBAVCODEC_BUILD constant */ +unsigned avcodec_build( void ); void avcodec_init(void); void register_avcodec(AVCodec *format); diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 0f80b1b..5480494 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -412,6 +412,11 @@ unsigned avcodec_version( void ) return LIBAVCODEC_VERSION_INT; } +unsigned avcodec_build( void ) +{ + return LIBAVCODEC_BUILD; +} + /* must be called before any other functions */ void avcodec_init(void) { -- 2.7.4