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
1329827e
Commit
1329827e
authored
Jan 12, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: remove disabled FF_API_NEW_STREAM cruft
parent
adad5b88
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
28 deletions
+0
-28
avformat.h
libavformat/avformat.h
+0
-15
utils.c
libavformat/utils.c
+0
-10
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
1329827e
...
@@ -1379,21 +1379,6 @@ void avformat_close_input(AVFormatContext **s);
...
@@ -1379,21 +1379,6 @@ void avformat_close_input(AVFormatContext **s);
* @}
* @}
*/
*/
#if FF_API_NEW_STREAM
/**
* Add a new stream to a media file.
*
* Can only be called in the read_header() function. If the flag
* AVFMTCTX_NOHEADER is in the format context, then new streams
* can be added in read_packet too.
*
* @param s media file handle
* @param id file-format-dependent stream ID
*/
attribute_deprecated
AVStream
*
av_new_stream
(
AVFormatContext
*
s
,
int
id
);
#endif
#if FF_API_SET_PTS_INFO
#if FF_API_SET_PTS_INFO
/**
/**
* @deprecated this function is not supposed to be called outside of lavf
* @deprecated this function is not supposed to be called outside of lavf
...
...
libavformat/utils.c
View file @
1329827e
...
@@ -2630,16 +2630,6 @@ void avformat_close_input(AVFormatContext **ps)
...
@@ -2630,16 +2630,6 @@ void avformat_close_input(AVFormatContext **ps)
avio_close
(
pb
);
avio_close
(
pb
);
}
}
#if FF_API_NEW_STREAM
AVStream
*
av_new_stream
(
AVFormatContext
*
s
,
int
id
)
{
AVStream
*
st
=
avformat_new_stream
(
s
,
NULL
);
if
(
st
)
st
->
id
=
id
;
return
st
;
}
#endif
AVStream
*
avformat_new_stream
(
AVFormatContext
*
s
,
AVCodec
*
c
)
AVStream
*
avformat_new_stream
(
AVFormatContext
*
s
,
AVCodec
*
c
)
{
{
AVStream
*
st
;
AVStream
*
st
;
...
...
libavformat/version.h
View file @
1329827e
...
@@ -47,9 +47,6 @@
...
@@ -47,9 +47,6 @@
* Those FF_API_* defines are not part of public API.
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
* They may change, break or disappear at any time.
*/
*/
#ifndef FF_API_NEW_STREAM
#define FF_API_NEW_STREAM (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_PRELOAD
#ifndef FF_API_PRELOAD
#define FF_API_PRELOAD (LIBAVFORMAT_VERSION_MAJOR < 54)
#define FF_API_PRELOAD (LIBAVFORMAT_VERSION_MAJOR < 54)
#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