Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
b83d1ee3
Commit
b83d1ee3
authored
Dec 25, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil: Move library version related macros to version.h
This is a more sensible place for these macros.
parent
1716b4c7
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
26 additions
and
22 deletions
+26
-22
version.h
libavcodec/version.h
+2
-0
version.h
libavdevice/version.h
+1
-1
version.h
libavfilter/version.h
+1
-1
version.h
libavformat/version.h
+1
-1
version.h
libavresample/version.h
+2
-0
avutil.h
libavutil/avutil.h
+0
-17
utils.c
libavutil/utils.c
+1
-1
version.h
libavutil/version.h
+17
-0
version.h
libswscale/version.h
+1
-1
No files found.
libavcodec/version.h
View file @
b83d1ee3
...
@@ -26,6 +26,8 @@
...
@@ -26,6 +26,8 @@
* Libavcodec version macros.
* Libavcodec version macros.
*/
*/
#include "libavutil/version.h"
#define LIBAVCODEC_VERSION_MAJOR 55
#define LIBAVCODEC_VERSION_MAJOR 55
#define LIBAVCODEC_VERSION_MINOR 31
#define LIBAVCODEC_VERSION_MINOR 31
#define LIBAVCODEC_VERSION_MICRO 0
#define LIBAVCODEC_VERSION_MICRO 0
...
...
libavdevice/version.h
View file @
b83d1ee3
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
* Libavdevice version macros
* Libavdevice version macros
*/
*/
#include "libavutil/
avutil
.h"
#include "libavutil/
version
.h"
#define LIBAVDEVICE_VERSION_MAJOR 54
#define LIBAVDEVICE_VERSION_MAJOR 54
#define LIBAVDEVICE_VERSION_MINOR 0
#define LIBAVDEVICE_VERSION_MINOR 0
...
...
libavfilter/version.h
View file @
b83d1ee3
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
* Libavfilter version macros
* Libavfilter version macros
*/
*/
#include "libavutil/
avutil
.h"
#include "libavutil/
version
.h"
#define LIBAVFILTER_VERSION_MAJOR 4
#define LIBAVFILTER_VERSION_MAJOR 4
#define LIBAVFILTER_VERSION_MINOR 0
#define LIBAVFILTER_VERSION_MINOR 0
...
...
libavformat/version.h
View file @
b83d1ee3
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
* Libavformat version macros
* Libavformat version macros
*/
*/
#include "libavutil/
avutil
.h"
#include "libavutil/
version
.h"
#define LIBAVFORMAT_VERSION_MAJOR 55
#define LIBAVFORMAT_VERSION_MAJOR 55
#define LIBAVFORMAT_VERSION_MINOR 10
#define LIBAVFORMAT_VERSION_MINOR 10
...
...
libavresample/version.h
View file @
b83d1ee3
...
@@ -25,6 +25,8 @@
...
@@ -25,6 +25,8 @@
* Libavresample version macros.
* Libavresample version macros.
*/
*/
#include "libavutil/version.h"
#define LIBAVRESAMPLE_VERSION_MAJOR 1
#define LIBAVRESAMPLE_VERSION_MAJOR 1
#define LIBAVRESAMPLE_VERSION_MINOR 1
#define LIBAVRESAMPLE_VERSION_MINOR 1
#define LIBAVRESAMPLE_VERSION_MICRO 0
#define LIBAVRESAMPLE_VERSION_MICRO 0
...
...
libavutil/avutil.h
View file @
b83d1ee3
...
@@ -163,23 +163,6 @@
...
@@ -163,23 +163,6 @@
#define AV_PRAGMA(s) _Pragma(#s)
#define AV_PRAGMA(s) _Pragma(#s)
/**
* @}
*/
/**
* @defgroup version_utils Library Version Macros
*
* Useful to check and match library version in order to maintain
* backward compatibility.
*
* @{
*/
#define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
#define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c
#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
/**
/**
* @}
* @}
*/
*/
...
...
libavutil/utils.c
View file @
b83d1ee3
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
*/
*/
#include "config.h"
#include "config.h"
#include "
avutil
.h"
#include "
version
.h"
/**
/**
* @file
* @file
...
...
libavutil/version.h
View file @
b83d1ee3
...
@@ -21,6 +21,23 @@
...
@@ -21,6 +21,23 @@
#include "avutil.h"
#include "avutil.h"
/**
* @defgroup version_utils Library Version Macros
*
* Useful to check and match library version in order to maintain
* backward compatibility.
*
* @{
*/
#define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
#define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c
#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
/**
* @}
*/
/**
/**
* @file
* @file
* @ingroup lavu
* @ingroup lavu
...
...
libswscale/version.h
View file @
b83d1ee3
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
* swscale version macros
* swscale version macros
*/
*/
#include "libavutil/
avutil
.h"
#include "libavutil/
version
.h"
#define LIBSWSCALE_VERSION_MAJOR 2
#define LIBSWSCALE_VERSION_MAJOR 2
#define LIBSWSCALE_VERSION_MINOR 1
#define LIBSWSCALE_VERSION_MINOR 1
...
...
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