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
397ebc1d
Commit
397ebc1d
authored
Sep 05, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proresenc_anatoliy: add 2 const to silence 2 warnings
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b3fdfc8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
proresenc_anatoliy.c
libavcodec/proresenc_anatoliy.c
+2
-2
No files found.
libavcodec/proresenc_anatoliy.c
View file @
397ebc1d
...
...
@@ -367,7 +367,7 @@ static void subimage_with_fill(uint16_t *src, unsigned x, unsigned y,
}
}
static
int
encode_slice
(
AVCodecContext
*
avctx
,
AVFrame
*
pic
,
int
mb_x
,
static
int
encode_slice
(
AVCodecContext
*
avctx
,
const
AVFrame
*
pic
,
int
mb_x
,
int
mb_y
,
unsigned
mb_count
,
uint8_t
*
buf
,
unsigned
data_size
,
int
unsafe
,
int
*
qp
)
{
...
...
@@ -437,7 +437,7 @@ static int encode_slice(AVCodecContext *avctx, AVFrame *pic, int mb_x,
return
hdr_size
+
y_data_size
+
u_data_size
+
v_data_size
;
}
static
int
prores_encode_picture
(
AVCodecContext
*
avctx
,
AVFrame
*
pic
,
static
int
prores_encode_picture
(
AVCodecContext
*
avctx
,
const
AVFrame
*
pic
,
uint8_t
*
buf
,
const
int
buf_size
)
{
int
mb_width
=
(
avctx
->
width
+
15
)
>>
4
;
...
...
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