[SCM] libav/experimental: build info for ABI

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:31:44 UTC 2013


The following commit has been merged in the experimental branch:
commit 8bceb6af09c3c2db5d111c06244901ce503c7a72
Author: Nick Kurshev <nickols_k at mail.ru>
Date:   Sun May 12 15:53:25 2002 +0000

    build info for ABI
    
    Originally committed as revision 489 to svn://svn.ffmpeg.org/ffmpeg/trunk

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)
 {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list