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
4a431e9e
Commit
4a431e9e
authored
Feb 01, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const
Originally committed as revision 11777 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
bed9dc16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
tiertexseqv.c
libavcodec/tiertexseqv.c
+7
-7
No files found.
libavcodec/tiertexseqv.c
View file @
4a431e9e
...
...
@@ -37,7 +37,7 @@ typedef struct SeqVideoContext {
}
SeqVideoContext
;
static
unsigned
char
*
seq_unpack_rle_block
(
unsigned
char
*
src
,
unsigned
char
*
dst
,
int
dst_size
)
static
const
unsigned
char
*
seq_unpack_rle_block
(
const
unsigned
char
*
src
,
unsigned
char
*
dst
,
int
dst_size
)
{
int
i
,
len
,
sz
;
GetBitContext
gb
;
...
...
@@ -67,9 +67,9 @@ static unsigned char *seq_unpack_rle_block(unsigned char *src, unsigned char *ds
return
src
;
}
static
unsigned
char
*
seq_decode_op1
(
SeqVideoContext
*
seq
,
unsigned
char
*
src
,
unsigned
char
*
dst
)
static
const
unsigned
char
*
seq_decode_op1
(
SeqVideoContext
*
seq
,
const
unsigned
char
*
src
,
unsigned
char
*
dst
)
{
unsigned
char
*
color_table
;
const
unsigned
char
*
color_table
;
int
b
,
i
,
len
,
bits
;
GetBitContext
gb
;
...
...
@@ -107,7 +107,7 @@ static unsigned char *seq_decode_op1(SeqVideoContext *seq, unsigned char *src, u
return
src
;
}
static
unsigned
char
*
seq_decode_op2
(
SeqVideoContext
*
seq
,
unsigned
char
*
src
,
unsigned
char
*
dst
)
static
const
unsigned
char
*
seq_decode_op2
(
SeqVideoContext
*
seq
,
const
unsigned
char
*
src
,
unsigned
char
*
dst
)
{
int
i
;
...
...
@@ -120,7 +120,7 @@ static unsigned char *seq_decode_op2(SeqVideoContext *seq, unsigned char *src, u
return
src
;
}
static
unsigned
char
*
seq_decode_op3
(
SeqVideoContext
*
seq
,
unsigned
char
*
src
,
unsigned
char
*
dst
)
static
const
unsigned
char
*
seq_decode_op3
(
SeqVideoContext
*
seq
,
const
unsigned
char
*
src
,
unsigned
char
*
dst
)
{
int
pos
,
offset
;
...
...
@@ -133,7 +133,7 @@ static unsigned char *seq_decode_op3(SeqVideoContext *seq, unsigned char *src, u
return
src
;
}
static
void
seqvideo_decode
(
SeqVideoContext
*
seq
,
unsigned
char
*
data
,
int
data_size
)
static
void
seqvideo_decode
(
SeqVideoContext
*
seq
,
const
unsigned
char
*
data
,
int
data_size
)
{
GetBitContext
gb
;
int
flags
,
i
,
j
,
x
,
y
,
op
;
...
...
@@ -187,7 +187,7 @@ static int seqvideo_decode_init(AVCodecContext *avctx)
static
int
seqvideo_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
)
const
uint8_t
*
buf
,
int
buf_size
)
{
SeqVideoContext
*
seq
=
avctx
->
priv_data
;
...
...
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