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
bd0e945f
Commit
bd0e945f
authored
Feb 01, 2008
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const
Originally committed as revision 11723 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
21cc343d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dnxhddec.c
libavcodec/dnxhddec.c
+3
-3
No files found.
libavcodec/dnxhddec.c
View file @
bd0e945f
...
...
@@ -84,7 +84,7 @@ static int dnxhd_init_vlc(DNXHDContext *ctx, int cid)
return
0
;
}
static
int
dnxhd_decode_header
(
DNXHDContext
*
ctx
,
uint8_t
*
buf
,
int
buf_size
,
int
first_field
)
static
int
dnxhd_decode_header
(
DNXHDContext
*
ctx
,
const
uint8_t
*
buf
,
int
buf_size
,
int
first_field
)
{
static
const
uint8_t
header_prefix
[]
=
{
0x00
,
0x00
,
0x02
,
0x80
,
0x01
};
int
i
;
...
...
@@ -263,7 +263,7 @@ static int dnxhd_decode_macroblock(DNXHDContext *ctx, int x, int y)
return
0
;
}
static
int
dnxhd_decode_macroblocks
(
DNXHDContext
*
ctx
,
uint8_t
*
buf
,
int
buf_size
)
static
int
dnxhd_decode_macroblocks
(
DNXHDContext
*
ctx
,
const
uint8_t
*
buf
,
int
buf_size
)
{
int
x
,
y
;
for
(
y
=
0
;
y
<
ctx
->
mb_height
;
y
++
)
{
...
...
@@ -281,7 +281,7 @@ static int dnxhd_decode_macroblocks(DNXHDContext *ctx, uint8_t *buf, int buf_siz
}
static
int
dnxhd_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
uint8_t
*
buf
,
int
buf_size
)
const
uint8_t
*
buf
,
int
buf_size
)
{
DNXHDContext
*
ctx
=
avctx
->
priv_data
;
AVFrame
*
picture
=
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