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
577eab6b
Commit
577eab6b
authored
Oct 27, 2006
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor simplification
Originally committed as revision 6810 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a98f4515
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
eval.c
libavcodec/eval.c
+2
-5
No files found.
libavcodec/eval.c
View file @
577eab6b
...
@@ -302,12 +302,9 @@ static AVEvalExpr * parse_factor(Parser *p){
...
@@ -302,12 +302,9 @@ static AVEvalExpr * parse_factor(Parser *p){
int
sign
,
sign2
;
int
sign
,
sign2
;
AVEvalExpr
*
e
=
parse_pow
(
p
,
&
sign
);
AVEvalExpr
*
e
=
parse_pow
(
p
,
&
sign
);
while
(
p
->
s
[
0
]
==
'^'
){
while
(
p
->
s
[
0
]
==
'^'
){
AVEvalExpr
*
tmp
;
p
->
s
++
;
p
->
s
++
;
tmp
=
new_eval_expr
(
e_pow
,
1
,
e
,
parse_pow
(
p
,
&
sign2
));
e
=
new_eval_expr
(
e_pow
,
1
,
e
,
parse_pow
(
p
,
&
sign2
));
if
(
tmp
->
param
[
1
])
tmp
->
param
[
1
]
->
value
*=
(
sign2
|
1
);
if
(
e
->
param
[
1
])
e
->
param
[
1
]
->
value
*=
(
sign2
|
1
);
e
=
tmp
;
}
}
if
(
e
)
e
->
value
*=
(
sign
|
1
);
if
(
e
)
e
->
value
*=
(
sign
|
1
);
return
e
;
return
e
;
...
...
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