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
3211932c
Commit
3211932c
authored
Jan 22, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: remove disabled FF_API_AVCODEC_INIT cruft.
parent
491f443e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
16 deletions
+1
-16
avcodec.h
libavcodec/avcodec.h
+0
-9
utils.c
libavcodec/utils.c
+1
-4
version.h
libavcodec/version.h
+0
-3
No files found.
libavcodec/avcodec.h
View file @
3211932c
...
...
@@ -3429,15 +3429,6 @@ const char *avcodec_configuration(void);
*/
const
char
*
avcodec_license
(
void
);
#if FF_API_AVCODEC_INIT
/**
* @deprecated this function is called automatically from avcodec_register()
* and avcodec_register_all(), there is no need to call it manually
*/
attribute_deprecated
void
avcodec_init
(
void
);
#endif
/**
* Register the codec codec and initialize libavcodec.
*
...
...
libavcodec/utils.c
View file @
3211932c
...
...
@@ -88,10 +88,7 @@ AVCodec *av_codec_next(AVCodec *c){
else
return
first_avcodec
;
}
#if !FF_API_AVCODEC_INIT
static
#endif
void
avcodec_init
(
void
)
static
void
avcodec_init
(
void
)
{
static
int
initialized
=
0
;
...
...
libavcodec/version.h
View file @
3211932c
...
...
@@ -41,9 +41,6 @@
#ifndef FF_API_REQUEST_CHANNELS
#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55)
#endif
#ifndef FF_API_AVCODEC_INIT
#define FF_API_AVCODEC_INIT (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_LAME_GLOBAL_OPTS
#define FF_API_LAME_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
#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