Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
21e500ba
Commit
21e500ba
authored
Aug 26, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
svq1dec: Change type of array pitch parameters to ptrdiff_t
ptrdiff_t is the correct type for array pitches and similar.
parent
746c56b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
svq1dec.c
libavcodec/svq1dec.c
+6
-6
No files found.
libavcodec/svq1dec.c
View file @
21e500ba
...
...
@@ -155,7 +155,7 @@ static const uint8_t string_table[256] = {
n4 = mean + (mean >> 31) << 16 | (mean & 0xFFFF);
static
int
svq1_decode_block_intra
(
GetBitContext
*
bitbuf
,
uint8_t
*
pixels
,
in
t
pitch
)
ptrdiff_
t
pitch
)
{
uint32_t
bit_cache
;
uint8_t
*
list
[
63
];
...
...
@@ -220,7 +220,7 @@ static int svq1_decode_block_intra(GetBitContext *bitbuf, uint8_t *pixels,
}
static
int
svq1_decode_block_non_intra
(
GetBitContext
*
bitbuf
,
uint8_t
*
pixels
,
in
t
pitch
)
ptrdiff_
t
pitch
)
{
uint32_t
bit_cache
;
uint8_t
*
list
[
63
];
...
...
@@ -304,7 +304,7 @@ static int svq1_decode_motion_vector(GetBitContext *bitbuf, svq1_pmv *mv,
}
static
void
svq1_skip_block
(
uint8_t
*
current
,
uint8_t
*
previous
,
in
t
pitch
,
int
x
,
int
y
)
ptrdiff_
t
pitch
,
int
x
,
int
y
)
{
uint8_t
*
src
;
uint8_t
*
dst
;
...
...
@@ -322,7 +322,7 @@ static void svq1_skip_block(uint8_t *current, uint8_t *previous,
static
int
svq1_motion_inter_block
(
HpelDSPContext
*
hdsp
,
GetBitContext
*
bitbuf
,
uint8_t
*
current
,
uint8_t
*
previous
,
in
t
pitch
,
svq1_pmv
*
motion
,
int
x
,
int
y
,
ptrdiff_
t
pitch
,
svq1_pmv
*
motion
,
int
x
,
int
y
,
int
width
,
int
height
)
{
uint8_t
*
src
;
...
...
@@ -366,7 +366,7 @@ static int svq1_motion_inter_block(HpelDSPContext *hdsp, GetBitContext *bitbuf,
static
int
svq1_motion_inter_4v_block
(
HpelDSPContext
*
hdsp
,
GetBitContext
*
bitbuf
,
uint8_t
*
current
,
uint8_t
*
previous
,
in
t
pitch
,
svq1_pmv
*
motion
,
int
x
,
int
y
,
ptrdiff_
t
pitch
,
svq1_pmv
*
motion
,
int
x
,
int
y
,
int
width
,
int
height
)
{
uint8_t
*
src
;
...
...
@@ -448,7 +448,7 @@ static int svq1_motion_inter_4v_block(HpelDSPContext *hdsp, GetBitContext *bitbu
static
int
svq1_decode_delta_block
(
AVCodecContext
*
avctx
,
HpelDSPContext
*
hdsp
,
GetBitContext
*
bitbuf
,
uint8_t
*
current
,
uint8_t
*
previous
,
in
t
pitch
,
svq1_pmv
*
motion
,
int
x
,
int
y
,
ptrdiff_
t
pitch
,
svq1_pmv
*
motion
,
int
x
,
int
y
,
int
width
,
int
height
)
{
uint32_t
block_type
;
...
...
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