diff options
author | Nick Kurshev <nickols_k@mail.ru> | 2002-05-12 15:53:25 +0000 |
---|---|---|
committer | Nick Kurshev <nickols_k@mail.ru> | 2002-05-12 15:53:25 +0000 |
commit | 8bceb6af09c3c2db5d111c06244901ce503c7a72 (patch) | |
tree | 675b52c8acbe4908c3f4f625b2cf66543e4f8e21 | |
parent | 5d27890ae96c094de591b12ba065300277d9eefc (diff) | |
download | ffmpeg-8bceb6af09c3c2db5d111c06244901ce503c7a72.tar.gz |
build info for ABI
Originally committed as revision 489 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/avcodec.h | 2 | ||||
-rw-r--r-- | libavcodec/utils.c | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 3763f7f72b..cd42058ff1 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 0f80b1b9b3..5480494928 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) { |