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
87b7e141
Commit
87b7e141
authored
Aug 25, 2019
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/x264: Use FF_CODEC_CAP_INIT_THREADSAFE if x264 is new.
Usage of strtok() was removed from x264, see also
b02490a4
parent
7ffa458d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
libx264.c
libavcodec/libx264.c
+8
-0
No files found.
libavcodec/libx264.c
View file @
87b7e141
...
...
@@ -1180,7 +1180,11 @@ AVCodec ff_libx264_encoder = {
.
priv_class
=
&
x264_class
,
.
defaults
=
x264_defaults
,
.
init_static_data
=
X264_init_static
,
#if X264_BUILD >= 158
.
caps_internal
=
FF_CODEC_CAP_INIT_CLEANUP
|
FF_CODEC_CAP_INIT_THREADSAFE
,
#else
.
caps_internal
=
FF_CODEC_CAP_INIT_CLEANUP
,
#endif
.
wrapper_name
=
"libx264"
,
};
#endif
...
...
@@ -1207,7 +1211,11 @@ AVCodec ff_libx264rgb_encoder = {
.
priv_class
=
&
rgbclass
,
.
defaults
=
x264_defaults
,
.
pix_fmts
=
pix_fmts_8bit_rgb
,
#if X264_BUILD >= 158
.
caps_internal
=
FF_CODEC_CAP_INIT_CLEANUP
|
FF_CODEC_CAP_INIT_THREADSAFE
,
#else
.
caps_internal
=
FF_CODEC_CAP_INIT_CLEANUP
,
#endif
.
wrapper_name
=
"libx264"
,
};
#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