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
903a0acb
Commit
903a0acb
authored
Sep 15, 2014
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat: remove obsolete FF_API_ALLOC_OUTPUT_CONTEXT cruft
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
e524a9b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
23 deletions
+0
-23
avformat.h
libavformat/avformat.h
+0
-10
mux.c
libavformat/mux.c
+0
-10
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
903a0acb
...
...
@@ -1874,16 +1874,6 @@ AVProgram *av_new_program(AVFormatContext *s, int id);
*/
#if FF_API_ALLOC_OUTPUT_CONTEXT
/**
* @deprecated deprecated in favor of avformat_alloc_output_context2()
*/
attribute_deprecated
AVFormatContext
*
avformat_alloc_output_context
(
const
char
*
format
,
AVOutputFormat
*
oformat
,
const
char
*
filename
);
#endif
/**
* Allocate an AVFormatContext for an output format.
* avformat_free_context() can be used to free the context and
...
...
libavformat/mux.c
View file @
903a0acb
...
...
@@ -171,16 +171,6 @@ error:
return
ret
;
}
#if FF_API_ALLOC_OUTPUT_CONTEXT
AVFormatContext
*
avformat_alloc_output_context
(
const
char
*
format
,
AVOutputFormat
*
oformat
,
const
char
*
filename
)
{
AVFormatContext
*
avctx
;
int
ret
=
avformat_alloc_output_context2
(
&
avctx
,
oformat
,
format
,
filename
);
return
ret
<
0
?
NULL
:
avctx
;
}
#endif
static
int
validate_codec_tag
(
AVFormatContext
*
s
,
AVStream
*
st
)
{
const
AVCodecTag
*
avctag
;
...
...
libavformat/version.h
View file @
903a0acb
...
...
@@ -61,9 +61,6 @@
#define FF_API_URL_FEOF (LIBAVFORMAT_VERSION_MAJOR < 57)
#endif
#ifndef FF_API_ALLOC_OUTPUT_CONTEXT
#define FF_API_ALLOC_OUTPUT_CONTEXT (LIBAVFORMAT_VERSION_MAJOR < 56)
#endif
#ifndef FF_API_FORMAT_PARAMETERS
#define FF_API_FORMAT_PARAMETERS (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