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
fb2cf1bc
Commit
fb2cf1bc
authored
Feb 01, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const
Originally committed as revision 11724 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
bd0e945f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ffv1.c
libavcodec/ffv1.c
+1
-1
huffyuv.c
libavcodec/huffyuv.c
+2
-2
No files found.
libavcodec/ffv1.c
View file @
fb2cf1bc
...
...
@@ -936,7 +936,7 @@ static int decode_init(AVCodecContext *avctx)
return
0
;
}
static
int
decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
){
static
int
decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
const
uint8_t
*
buf
,
int
buf_size
){
FFV1Context
*
f
=
avctx
->
priv_data
;
RangeCoder
*
const
c
=
&
f
->
c
;
const
int
width
=
f
->
width
;
...
...
libavcodec/huffyuv.c
View file @
fb2cf1bc
...
...
@@ -959,7 +959,7 @@ static void draw_slice(HYuvContext *s, int y){
s
->
last_slice_end
=
y
+
h
;
}
static
int
decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
){
static
int
decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
const
uint8_t
*
buf
,
int
buf_size
){
HYuvContext
*
s
=
avctx
->
priv_data
;
const
int
width
=
s
->
width
;
const
int
width2
=
s
->
width
>>
1
;
...
...
@@ -972,7 +972,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8
s
->
bitstream_buffer
=
av_fast_realloc
(
s
->
bitstream_buffer
,
&
s
->
bitstream_buffer_size
,
buf_size
+
FF_INPUT_BUFFER_PADDING_SIZE
);
s
->
dsp
.
bswap_buf
((
uint32_t
*
)
s
->
bitstream_buffer
,
(
uint32_t
*
)
buf
,
buf_size
/
4
);
s
->
dsp
.
bswap_buf
((
uint32_t
*
)
s
->
bitstream_buffer
,
(
const
uint32_t
*
)
buf
,
buf_size
/
4
);
if
(
p
->
data
[
0
])
avctx
->
release_buffer
(
avctx
,
p
);
...
...
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