version info
authorNick Kurshev <nickols_k@mail.ru>
Sun, 5 May 2002 09:56:13 +0000 (09:56 +0000)
committerNick Kurshev <nickols_k@mail.ru>
Sun, 5 May 2002 09:56:13 +0000 (09:56 +0000)
Originally committed as revision 443 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/avcodec.h
libavcodec/utils.c

index f8c520b..074b27c 100644 (file)
@@ -327,6 +327,8 @@ int avpicture_deinterlace(AVPicture *dst, AVPicture *src,
 
 extern AVCodec *first_avcodec;
 
+/* returns LIBAVCODEC_VERSION_INT constant */
+unsigned avcodec_version( void );
 void avcodec_init(void);
 
 void register_avcodec(AVCodec *format);
index c15b567..441b8f1 100644 (file)
@@ -402,6 +402,10 @@ int avpicture_get_size(int pix_fmt, int width, int height)
     return size;
 }
 
+unsigned avcodec_version( void )
+{
+  return LIBAVCODEC_VERSION_INT;
+}
 
 /* must be called before any other functions */
 void avcodec_init(void)