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
c97429e2
Commit
c97429e2
authored
Aug 08, 2008
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement avformat_version().
Originally committed as revision 14667 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
96afa6be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
avformat.h
libavformat/avformat.h
+6
-1
utils.c
libavformat/utils.c
+5
-0
No files found.
libavformat/avformat.h
View file @
c97429e2
...
...
@@ -22,7 +22,7 @@
#define FFMPEG_AVFORMAT_H
#define LIBAVFORMAT_VERSION_MAJOR 52
#define LIBAVFORMAT_VERSION_MINOR
19
#define LIBAVFORMAT_VERSION_MINOR
20
#define LIBAVFORMAT_VERSION_MICRO 0
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
...
...
@@ -35,6 +35,11 @@
#define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
/**
* Returns the LIBAVFORMAT_VERSION_INT constant.
*/
unsigned
avformat_version
(
void
);
#include <time.h>
#include <stdio.h>
/* FILE */
#include "libavcodec/avcodec.h"
...
...
libavformat/utils.c
View file @
c97429e2
...
...
@@ -33,6 +33,11 @@
* various utility functions for use within FFmpeg
*/
unsigned
avformat_version
(
void
)
{
return
LIBAVFORMAT_VERSION_INT
;
}
static
void
av_frac_init
(
AVFrac
*
f
,
int64_t
val
,
int64_t
num
,
int64_t
den
);
static
void
av_frac_add
(
AVFrac
*
f
,
int64_t
incr
);
...
...
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