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
50841da1
Commit
50841da1
authored
Sep 03, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/mpeg4videodec: fix automatic use of the xvid idct on non x86
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
feac9cbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
mpeg4videodec.c
libavcodec/mpeg4videodec.c
+1
-4
No files found.
libavcodec/mpeg4videodec.c
View file @
50841da1
...
...
@@ -2209,16 +2209,13 @@ int ff_mpeg4_workaround_bugs(AVCodecContext *avctx)
s
->
workaround_bugs
,
ctx
->
lavc_build
,
ctx
->
xvid_build
,
ctx
->
divx_version
,
ctx
->
divx_build
,
s
->
divx_packed
?
"p"
:
""
);
#if HAVE_MMX
if
(
CONFIG_MPEG4_DECODER
&&
ctx
->
xvid_build
>=
0
&&
s
->
codec_id
==
AV_CODEC_ID_MPEG4
&&
avctx
->
idct_algo
==
FF_IDCT_AUTO
&&
(
av_get_cpu_flags
()
&
AV_CPU_FLAG_MMX
))
{
avctx
->
idct_algo
==
FF_IDCT_AUTO
)
{
avctx
->
idct_algo
=
FF_IDCT_XVID
;
ff_mpv_idct_init
(
s
);
return
1
;
}
#endif
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