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
b99d3613
Commit
b99d3613
authored
Aug 24, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/h263dec: use FF_CEIL_RSHIFT()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9a271a93
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
h263dec.c
libavcodec/h263dec.c
+2
-2
No files found.
libavcodec/h263dec.c
View file @
b99d3613
...
@@ -762,8 +762,8 @@ intrax8_decoded:
...
@@ -762,8 +762,8 @@ intrax8_decoded:
int
x
,
y
,
p
;
int
x
,
y
,
p
;
av_frame_make_writable
(
pict
);
av_frame_make_writable
(
pict
);
for
(
p
=
0
;
p
<
3
;
p
++
)
{
for
(
p
=
0
;
p
<
3
;
p
++
)
{
int
w
=
-
((
-
pict
->
width
)
>>
!!
p
);
int
w
=
FF_CEIL_RSHIFT
(
pict
->
width
,
!!
p
);
int
h
=
-
((
-
pict
->
height
)
>>
!!
p
);
int
h
=
FF_CEIL_RSHIFT
(
pict
->
height
,
!!
p
);
int
linesize
=
pict
->
linesize
[
p
];
int
linesize
=
pict
->
linesize
[
p
];
for
(
y
=
0
;
y
<
(
h
>>
1
);
y
++
)
for
(
y
=
0
;
y
<
(
h
>>
1
);
y
++
)
for
(
x
=
0
;
x
<
w
;
x
++
)
for
(
x
=
0
;
x
<
w
;
x
++
)
...
...
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