Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
4df001d7
Commit
4df001d7
authored
14 years ago
by
Anton Khirnov
Browse files
Options
Downloads
Patches
Plain Diff
lavf: remove FF_API_ALLOC_FORMAT_CONTEXT cruft
parent
5048e36c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
libavformat/avformat.h
+0
-7
0 additions, 7 deletions
libavformat/avformat.h
libavformat/options.c
+0
-7
0 additions, 7 deletions
libavformat/options.c
libavformat/version.h
+0
-3
0 additions, 3 deletions
libavformat/version.h
with
0 additions
and
17 deletions
libavformat/avformat.h
+
0
−
7
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
...
...
This diff is collapsed.
Click to expand it.
libavformat/options.c
+
0
−
7
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
This diff is collapsed.
Click to expand it.
libavformat/version.h
+
0
−
3
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment