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
e4732ba9
Commit
e4732ba9
authored
Apr 10, 2009
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sigill on non-MMX2 CPUs.
Originally committed as revision 18410 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
4f313925
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
motion-test.c
libavcodec/motion-test.c
+3
-1
No files found.
libavcodec/motion-test.c
View file @
e4732ba9
...
...
@@ -29,6 +29,7 @@
#include <sys/time.h>
#include <unistd.h>
#include "config.h"
#include "dsputil.h"
#include "libavutil/lfg.h"
...
...
@@ -128,6 +129,7 @@ int main(int argc, char **argv)
int
c
;
DSPContext
cctx
,
mmxctx
;
int
flags
[
2
]
=
{
FF_MM_MMX
,
FF_MM_MMX2
};
int
flags_size
=
HAVE_MMX2
?
2
:
1
;
for
(;;)
{
c
=
getopt
(
argc
,
argv
,
"h"
);
...
...
@@ -145,7 +147,7 @@ int main(int argc, char **argv)
ctx
=
avcodec_alloc_context
();
ctx
->
dsp_mask
=
FF_MM_FORCE
;
dsputil_init
(
&
cctx
,
ctx
);
for
(
c
=
0
;
c
<
1
;
c
++
)
{
for
(
c
=
0
;
c
<
flags_size
;
c
++
)
{
int
x
;
ctx
->
dsp_mask
=
FF_MM_FORCE
|
flags
[
c
];
dsputil_init
(
&
mmxctx
,
ctx
);
...
...
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