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
9ecfbb3e
Commit
9ecfbb3e
authored
Sep 01, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/utils: move avcodec_init() higher in the file.
Fixes build on next major bump.
parent
e5b29c1f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
utils.c
libavcodec/utils.c
+14
-14
No files found.
libavcodec/utils.c
View file @
9ecfbb3e
...
...
@@ -85,6 +85,20 @@ AVCodec *av_codec_next(AVCodec *c){
else
return
first_avcodec
;
}
#if !FF_API_AVCODEC_INIT
static
#endif
void
avcodec_init
(
void
)
{
static
int
initialized
=
0
;
if
(
initialized
!=
0
)
return
;
initialized
=
1
;
dsputil_static_init
();
}
void
avcodec_register
(
AVCodec
*
codec
)
{
AVCodec
**
p
;
...
...
@@ -1065,20 +1079,6 @@ const char *avcodec_license(void)
return
LICENSE_PREFIX
LIBAV_LICENSE
+
sizeof
(
LICENSE_PREFIX
)
-
1
;
}
#if !FF_API_AVCODEC_INIT
static
#endif
void
avcodec_init
(
void
)
{
static
int
initialized
=
0
;
if
(
initialized
!=
0
)
return
;
initialized
=
1
;
dsputil_static_init
();
}
void
avcodec_flush_buffers
(
AVCodecContext
*
avctx
)
{
if
(
HAVE_PTHREADS
&&
avctx
->
active_thread_type
&
FF_THREAD_FRAME
)
...
...
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