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
b4c5acab
Commit
b4c5acab
authored
Feb 03, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: remove FF_API_FIRST_FORMAT cruft
parent
583f6c67
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
16 deletions
+2
-16
avformat.h
libavformat/avformat.h
+0
-5
utils.c
libavformat/utils.c
+2
-8
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
b4c5acab
...
@@ -820,11 +820,6 @@ typedef struct AVPacketList {
...
@@ -820,11 +820,6 @@ typedef struct AVPacketList {
struct
AVPacketList
*
next
;
struct
AVPacketList
*
next
;
}
AVPacketList
;
}
AVPacketList
;
#if FF_API_FIRST_FORMAT
attribute_deprecated
extern
AVInputFormat
*
first_iformat
;
attribute_deprecated
extern
AVOutputFormat
*
first_oformat
;
#endif
/**
/**
* If f is NULL, returns the first registered input format,
* If f is NULL, returns the first registered input format,
* if f is non-NULL, returns the next registered input format after f
* if f is non-NULL, returns the next registered input format after f
...
...
libavformat/utils.c
View file @
b4c5acab
...
@@ -115,15 +115,9 @@ static void av_frac_add(AVFrac *f, int64_t incr)
...
@@ -115,15 +115,9 @@ static void av_frac_add(AVFrac *f, int64_t incr)
}
}
/** head of registered input format linked list */
/** head of registered input format linked list */
#if !FF_API_FIRST_FORMAT
static
AVInputFormat
*
first_iformat
=
NULL
;
static
#endif
AVInputFormat
*
first_iformat
=
NULL
;
/** head of registered output format linked list */
/** head of registered output format linked list */
#if !FF_API_FIRST_FORMAT
static
AVOutputFormat
*
first_oformat
=
NULL
;
static
#endif
AVOutputFormat
*
first_oformat
=
NULL
;
AVInputFormat
*
av_iformat_next
(
AVInputFormat
*
f
)
AVInputFormat
*
av_iformat_next
(
AVInputFormat
*
f
)
{
{
...
...
libavformat/version.h
View file @
b4c5acab
...
@@ -50,9 +50,6 @@
...
@@ -50,9 +50,6 @@
#ifndef FF_API_READ_SEEK
#ifndef FF_API_READ_SEEK
#define FF_API_READ_SEEK (LIBAVFORMAT_VERSION_MAJOR < 54)
#define FF_API_READ_SEEK (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#endif
#ifndef FF_API_FIRST_FORMAT
#define FF_API_FIRST_FORMAT (LIBAVFORMAT_VERSION_MAJOR < 53)
#endif
#ifndef FF_API_SYMVER
#ifndef FF_API_SYMVER
#define FF_API_SYMVER (LIBAVFORMAT_VERSION_MAJOR < 53)
#define FF_API_SYMVER (LIBAVFORMAT_VERSION_MAJOR < 53)
#endif
#endif
...
...
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