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
cc787709
Commit
cc787709
authored
Sep 15, 2014
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat: remove obsolete FF_API_FORMAT_PARAMETERS cruft
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
903a0acb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
30 deletions
+0
-30
avformat.h
libavformat/avformat.h
+0
-20
utils.c
libavformat/utils.c
+0
-7
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
cc787709
...
...
@@ -1986,26 +1986,6 @@ int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputForma
attribute_deprecated
int
av_demuxer_open
(
AVFormatContext
*
ic
);
#if FF_API_FORMAT_PARAMETERS
/**
* Read packets of a media file to get stream information. This
* is useful for file formats with no headers such as MPEG. This
* function also computes the real framerate in case of MPEG-2 repeat
* frame mode.
* The logical file position is not changed by this function;
* examined packets may be buffered for later processing.
*
* @param ic media file handle
* @return >=0 if OK, AVERROR_xxx on error
* @todo Let the user decide somehow what information is needed so that
* we do not waste time getting stuff the user does not need.
*
* @deprecated use avformat_find_stream_info.
*/
attribute_deprecated
int
av_find_stream_info
(
AVFormatContext
*
ic
);
#endif
/**
* Read packets of a media file to get stream information. This
* is useful for file formats with no headers such as MPEG. This
...
...
libavformat/utils.c
View file @
cc787709
...
...
@@ -2785,13 +2785,6 @@ static int tb_unreliable(AVCodecContext *c)
return
0
;
}
#if FF_API_FORMAT_PARAMETERS
int
av_find_stream_info
(
AVFormatContext
*
ic
)
{
return
avformat_find_stream_info
(
ic
,
NULL
);
}
#endif
int
ff_alloc_extradata
(
AVCodecContext
*
avctx
,
int
size
)
{
int
ret
;
...
...
libavformat/version.h
View file @
cc787709
...
...
@@ -61,9 +61,6 @@
#define FF_API_URL_FEOF (LIBAVFORMAT_VERSION_MAJOR < 57)
#endif
#ifndef FF_API_FORMAT_PARAMETERS
#define FF_API_FORMAT_PARAMETERS (LIBAVFORMAT_VERSION_MAJOR < 56)
#endif
#ifndef FF_API_NEW_STREAM
#define FF_API_NEW_STREAM (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