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
a70e7874
Commit
a70e7874
authored
Sep 16, 2011
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavu: add av_x_if_null().
parent
3039c686
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
APIchanges
doc/APIchanges
+3
-0
avutil.h
libavutil/avutil.h
+10
-2
No files found.
doc/APIchanges
View file @
a70e7874
...
...
@@ -13,6 +13,9 @@ libavutil: 2011-04-18
API changes, most recent first:
2011-09-22 - xxxxxxx - lavu 51.17.0
Add av_x_if_null().
2011-09-18 - xxxxxxx - lavc 53.16.0
Add showall flag2
...
...
libavutil/avutil.h
View file @
a70e7874
...
...
@@ -40,8 +40,8 @@
#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
#define LIBAVUTIL_VERSION_MAJOR 51
#define LIBAVUTIL_VERSION_MINOR 1
6
#define LIBAVUTIL_VERSION_MICRO
1
#define LIBAVUTIL_VERSION_MINOR 1
7
#define LIBAVUTIL_VERSION_MICRO
0
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
LIBAVUTIL_VERSION_MINOR, \
...
...
@@ -135,6 +135,14 @@ enum AVPictureType {
*/
char
av_get_picture_type_char
(
enum
AVPictureType
pict_type
);
/**
* Return x default pointer in case p is NULL.
*/
static
inline
const
void
*
av_x_if_null
(
const
void
*
p
,
const
void
*
x
)
{
return
p
?
p
:
x
;
}
#include "common.h"
#include "error.h"
#include "mathematics.h"
...
...
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