changeset 362:1ee4ba4ca783 libavcodec

version info
author nickols_k
date Sun, 05 May 2002 09:56:13 +0000
parents dc2fb310008d
children ff766a367974
files avcodec.h utils.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Sun May 05 01:39:07 2002 +0000
+++ b/avcodec.h	Sun May 05 09:56:13 2002 +0000
@@ -327,6 +327,8 @@
 
 extern AVCodec *first_avcodec;
 
+/* returns LIBAVCODEC_VERSION_INT constant */
+unsigned avcodec_version( void );
 void avcodec_init(void);
 
 void register_avcodec(AVCodec *format);
--- a/utils.c	Sun May 05 01:39:07 2002 +0000
+++ b/utils.c	Sun May 05 09:56:13 2002 +0000
@@ -402,6 +402,10 @@
     return size;
 }
 
+unsigned avcodec_version( void )
+{
+  return LIBAVCODEC_VERSION_INT;
+}
 
 /* must be called before any other functions */
 void avcodec_init(void)