Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
ecf457f3
Commit
ecf457f3
authored
Sep 15, 2014
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat: remove obsolete FF_API_CLOSE_INPUT_FILE cruft
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
3bd9f17b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
21 deletions
+0
-21
avformat.h
libavformat/avformat.h
+0
-11
utils.c
libavformat/utils.c
+0
-7
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
ecf457f3
...
...
@@ -2155,17 +2155,6 @@ int av_read_play(AVFormatContext *s);
*/
int
av_read_pause
(
AVFormatContext
*
s
);
#if FF_API_CLOSE_INPUT_FILE
/**
* @deprecated use avformat_close_input()
* Close a media file (but not its codecs).
*
* @param s media file handle
*/
attribute_deprecated
void
av_close_input_file
(
AVFormatContext
*
s
);
#endif
/**
* Close an opened input AVFormatContext. Free it and all its contents
* and set *s to NULL.
...
...
libavformat/utils.c
View file @
ecf457f3
...
...
@@ -3544,13 +3544,6 @@ void avformat_free_context(AVFormatContext *s)
av_free
(
s
);
}
#if FF_API_CLOSE_INPUT_FILE
void
av_close_input_file
(
AVFormatContext
*
s
)
{
avformat_close_input
(
&
s
);
}
#endif
void
avformat_close_input
(
AVFormatContext
**
ps
)
{
AVFormatContext
*
s
;
...
...
libavformat/version.h
View file @
ecf457f3
...
...
@@ -61,9 +61,6 @@
#define FF_API_URL_FEOF (LIBAVFORMAT_VERSION_MAJOR < 57)
#endif
#ifndef FF_API_CLOSE_INPUT_FILE
#define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 56)
#endif
#ifndef FF_API_READ_PACKET
#define FF_API_READ_PACKET (LIBAVFORMAT_VERSION_MAJOR < 56)
#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