]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Implement avdevice_version().
authorstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 8 Aug 2008 18:42:31 +0000 (18:42 +0000)
committerstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 8 Aug 2008 18:42:31 +0000 (18:42 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14668 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavdevice/alldevices.c
libavdevice/avdevice.h

index 6dfd350264b9ab719747d2eb976fc5661af99d60..b94db6335ffefd1144924504777f0429bce0417c 100644 (file)
 
 #include "config.h"
 #include "libavformat/avformat.h"
+#include "avdevice.h"
+
+unsigned avdevice_version(void)
+{
+    return LIBAVDEVICE_VERSION_INT;
+}
 
 #define REGISTER_MUXER(X,x) { \
           extern AVOutputFormat x##_muxer; \
index 3d4a1a3c78587a57b05cc17aadace1b8f7f463f8..0291de58897f95ebdfd4fb3b68eee4908cff33e9 100644 (file)
@@ -20,7 +20,7 @@
 #define FFMPEG_AVDEVICE_H
 
 #define LIBAVDEVICE_VERSION_MAJOR 52
-#define LIBAVDEVICE_VERSION_MINOR  0
+#define LIBAVDEVICE_VERSION_MINOR  1
 #define LIBAVDEVICE_VERSION_MICRO  0
 
 #define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \
                                            LIBAVDEVICE_VERSION_MICRO)
 #define LIBAVDEVICE_BUILD       LIBAVDEVICE_VERSION_INT
 
+/**
+ * Returns the LIBAVDEVICE_VERSION_INT constant.
+ */
+unsigned avdevice_version(void);
+
 /**
  * Initialize libavdevice and register all the input and output devices.
  * @warning This function is not thread safe.