Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
external
ffmpeg
Commits
b3b990b6
Commit
b3b990b6
authored
Aug 08, 2008
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement avdevice_version().
Originally committed as revision 14668 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c97429e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
libavdevice/alldevices.c
libavdevice/alldevices.c
+6
-0
libavdevice/avdevice.h
libavdevice/avdevice.h
+6
-1
No files found.
libavdevice/alldevices.c
View file @
b3b990b6
...
@@ -20,6 +20,12 @@
...
@@ -20,6 +20,12 @@
#include "config.h"
#include "config.h"
#include "libavformat/avformat.h"
#include "libavformat/avformat.h"
#include "avdevice.h"
unsigned
avdevice_version
(
void
)
{
return
LIBAVDEVICE_VERSION_INT
;
}
#define REGISTER_MUXER(X,x) { \
#define REGISTER_MUXER(X,x) { \
extern AVOutputFormat x##_muxer; \
extern AVOutputFormat x##_muxer; \
...
...
libavdevice/avdevice.h
View file @
b3b990b6
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#define FFMPEG_AVDEVICE_H
#define FFMPEG_AVDEVICE_H
#define LIBAVDEVICE_VERSION_MAJOR 52
#define LIBAVDEVICE_VERSION_MAJOR 52
#define LIBAVDEVICE_VERSION_MINOR
0
#define LIBAVDEVICE_VERSION_MINOR
1
#define LIBAVDEVICE_VERSION_MICRO 0
#define LIBAVDEVICE_VERSION_MICRO 0
#define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \
#define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \
...
@@ -31,6 +31,11 @@
...
@@ -31,6 +31,11 @@
LIBAVDEVICE_VERSION_MICRO)
LIBAVDEVICE_VERSION_MICRO)
#define LIBAVDEVICE_BUILD LIBAVDEVICE_VERSION_INT
#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.
* Initialize libavdevice and register all the input and output devices.
* @warning This function is not thread safe.
* @warning This function is not thread safe.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment