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
8448946e
Commit
8448946e
authored
Jul 05, 2007
by
Vitor Sessak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove more useless parentheses.
Originally committed as revision 9471 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c74a8fe6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
roqvideo.c
libavcodec/roqvideo.c
+2
-2
roqvideoenc.c
libavcodec/roqvideoenc.c
+1
-1
No files found.
libavcodec/roqvideo.c
View file @
8448946e
...
@@ -118,8 +118,8 @@ static inline void apply_motion_generic(RoqContext *ri, int x, int y, int deltax
...
@@ -118,8 +118,8 @@ static inline void apply_motion_generic(RoqContext *ri, int x, int y, int deltax
for
(
cp
=
0
;
cp
<
3
;
cp
++
)
{
for
(
cp
=
0
;
cp
<
3
;
cp
++
)
{
int
outstride
=
ri
->
current_frame
->
linesize
[
cp
];
int
outstride
=
ri
->
current_frame
->
linesize
[
cp
];
int
instride
=
ri
->
last_frame
->
linesize
[
cp
];
int
instride
=
ri
->
last_frame
->
linesize
[
cp
];
block_copy
(
ri
->
current_frame
->
data
[
cp
]
+
(
y
*
outstride
)
+
x
,
block_copy
(
ri
->
current_frame
->
data
[
cp
]
+
y
*
outstride
+
x
,
ri
->
last_frame
->
data
[
cp
]
+
(
my
*
instride
)
+
mx
,
ri
->
last_frame
->
data
[
cp
]
+
my
*
instride
+
mx
,
outstride
,
instride
,
sz
);
outstride
,
instride
,
sz
);
}
}
}
}
...
...
libavcodec/roqvideoenc.c
View file @
8448946e
...
@@ -608,7 +608,7 @@ typedef struct
...
@@ -608,7 +608,7 @@ typedef struct
/* NOTE: Typecodes must be spooled AFTER arguments!! */
/* NOTE: Typecodes must be spooled AFTER arguments!! */
static
void
write_typecode
(
CodingSpool
*
s
,
uint8_t
type
)
static
void
write_typecode
(
CodingSpool
*
s
,
uint8_t
type
)
{
{
s
->
typeSpool
|=
(
(
type
)
&
3
)
<<
(
14
-
s
->
typeSpoolLength
);
s
->
typeSpool
|=
(
type
&
3
)
<<
(
14
-
s
->
typeSpoolLength
);
s
->
typeSpoolLength
+=
2
;
s
->
typeSpoolLength
+=
2
;
if
(
s
->
typeSpoolLength
==
16
)
{
if
(
s
->
typeSpoolLength
==
16
)
{
bytestream_put_le16
(
s
->
pout
,
s
->
typeSpool
);
bytestream_put_le16
(
s
->
pout
,
s
->
typeSpool
);
...
...
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