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
4df001d7
Commit
4df001d7
authored
Feb 03, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: remove FF_API_ALLOC_FORMAT_CONTEXT cruft
parent
5048e36c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
17 deletions
+0
-17
avformat.h
libavformat/avformat.h
+0
-7
options.c
libavformat/options.c
+0
-7
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
4df001d7
...
...
@@ -1043,13 +1043,6 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
int
buf_size
,
AVFormatParameters
*
ap
);
#if FF_API_ALLOC_FORMAT_CONTEXT
/**
* @deprecated Use avformat_alloc_context() instead.
*/
attribute_deprecated
AVFormatContext
*
av_alloc_format_context
(
void
);
#endif
/**
* Allocate an AVFormatContext.
* avformat_free_context() can be used to free the context and everything
...
...
libavformat/options.c
View file @
4df001d7
...
...
@@ -84,10 +84,3 @@ AVFormatContext *avformat_alloc_context(void)
ic
->
av_class
=
&
av_format_context_class
;
return
ic
;
}
#if FF_API_ALLOC_FORMAT_CONTEXT
AVFormatContext
*
av_alloc_format_context
(
void
)
{
return
avformat_alloc_context
();
}
#endif
libavformat/version.h
View file @
4df001d7
...
...
@@ -47,9 +47,6 @@
#ifndef FF_API_URL_CLASS
#define FF_API_URL_CLASS (LIBAVFORMAT_VERSION_MAJOR >= 53)
#endif
#ifndef FF_API_ALLOC_FORMAT_CONTEXT
#define FF_API_ALLOC_FORMAT_CONTEXT (LIBAVFORMAT_VERSION_MAJOR < 53)
#endif
#ifndef FF_API_PARSE_FRAME_PARAM
#define FF_API_PARSE_FRAME_PARAM (LIBAVFORMAT_VERSION_MAJOR < 53)
#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