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
f89d76c1
Commit
f89d76c1
authored
Aug 03, 2014
by
Anton Khirnov
Committed by
Diego Biurrun
Aug 03, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg4video: Initialize xvididct for all threads
Signed-off-by:
Diego Biurrun
<
diego@biurrun.de
>
parent
a238b83b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
mpeg4videodec.c
libavcodec/mpeg4videodec.c
+5
-0
No files found.
libavcodec/mpeg4videodec.c
View file @
f89d76c1
...
@@ -2539,14 +2539,19 @@ static int mpeg4_update_thread_context(AVCodecContext *dst,
...
@@ -2539,14 +2539,19 @@ static int mpeg4_update_thread_context(AVCodecContext *dst,
{
{
Mpeg4DecContext
*
s
=
dst
->
priv_data
;
Mpeg4DecContext
*
s
=
dst
->
priv_data
;
const
Mpeg4DecContext
*
s1
=
src
->
priv_data
;
const
Mpeg4DecContext
*
s1
=
src
->
priv_data
;
int
init
=
s
->
m
.
context_initialized
;
int
ret
=
ff_mpeg_update_thread_context
(
dst
,
src
);
int
ret
=
ff_mpeg_update_thread_context
(
dst
,
src
);
if
(
ret
<
0
)
if
(
ret
<
0
)
return
ret
;
return
ret
;
if
(
CONFIG_MPEG4_DECODER
&&
!
init
&&
s1
->
xvid_build
>=
0
)
ff_xvididct_init
(
&
s
->
m
.
idsp
,
dst
);
s
->
shape
=
s1
->
shape
;
s
->
shape
=
s1
->
shape
;
s
->
time_increment_bits
=
s1
->
time_increment_bits
;
s
->
time_increment_bits
=
s1
->
time_increment_bits
;
s
->
xvid_build
=
s1
->
xvid_build
;
return
0
;
return
0
;
}
}
...
...
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