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
46244c64
Commit
46244c64
authored
Jan 07, 2010
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some const qualifiers.
Originally committed as revision 21064 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
616251c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
h263.c
libavcodec/h263.c
+2
-2
No files found.
libavcodec/h263.c
View file @
46244c64
...
...
@@ -377,7 +377,7 @@ static inline int get_block_rate(MpegEncContext * s, DCTELEM block[64], int bloc
* @param[out] st scantable for each 8x8 block
* @param[in] zigzag_last_index index refering to the last non zero coefficient in zigzag order
*/
static
inline
void
restore_ac_coeffs
(
MpegEncContext
*
s
,
DCTELEM
block
[
6
][
64
],
int
dir
[
6
],
uint8_t
*
st
[
6
],
int
zigzag_last_index
[
6
])
static
inline
void
restore_ac_coeffs
(
MpegEncContext
*
s
,
DCTELEM
block
[
6
][
64
],
const
int
dir
[
6
],
uint8_t
*
st
[
6
],
const
int
zigzag_last_index
[
6
])
{
int
i
,
n
;
memcpy
(
s
->
block_last_index
,
zigzag_last_index
,
sizeof
(
int
)
*
6
);
...
...
@@ -408,7 +408,7 @@ static inline void restore_ac_coeffs(MpegEncContext * s, DCTELEM block[6][64], i
* @param[out] st scantable for each 8x8 block
* @param[out] zigzag_last_index index refering to the last non zero coefficient in zigzag order
*/
static
inline
int
decide_ac_pred
(
MpegEncContext
*
s
,
DCTELEM
block
[
6
][
64
],
int
dir
[
6
],
uint8_t
*
st
[
6
],
int
zigzag_last_index
[
6
])
static
inline
int
decide_ac_pred
(
MpegEncContext
*
s
,
DCTELEM
block
[
6
][
64
],
const
int
dir
[
6
],
uint8_t
*
st
[
6
],
int
zigzag_last_index
[
6
])
{
int
score
=
0
;
int
i
,
n
;
...
...
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