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
7a1a9dd5
Commit
7a1a9dd5
authored
Sep 25, 2012
by
Anton Khirnov
Committed by
Luca Barbato
Sep 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pthread: make sure AVFrame.extended_data is set properly.
Signed-off-by:
Luca Barbato
<
lu_zero@gentoo.org
>
parent
c8ba8be2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
pthread.c
libavcodec/pthread.c
+4
-0
No files found.
libavcodec/pthread.c
View file @
7a1a9dd5
...
@@ -377,6 +377,10 @@ static attribute_align_arg void *frame_worker_thread(void *arg)
...
@@ -377,6 +377,10 @@ static attribute_align_arg void *frame_worker_thread(void *arg)
p
->
got_frame
=
0
;
p
->
got_frame
=
0
;
p
->
result
=
codec
->
decode
(
avctx
,
&
p
->
frame
,
&
p
->
got_frame
,
&
p
->
avpkt
);
p
->
result
=
codec
->
decode
(
avctx
,
&
p
->
frame
,
&
p
->
got_frame
,
&
p
->
avpkt
);
/* many decoders assign whole AVFrames, thus overwriting extended_data;
* make sure it's set correctly */
p
->
frame
.
extended_data
=
p
->
frame
.
data
;
if
(
p
->
state
==
STATE_SETTING_UP
)
ff_thread_finish_setup
(
avctx
);
if
(
p
->
state
==
STATE_SETTING_UP
)
ff_thread_finish_setup
(
avctx
);
p
->
state
=
STATE_INPUT_READY
;
p
->
state
=
STATE_INPUT_READY
;
...
...
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