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
f1af37b5
Commit
f1af37b5
authored
Dec 27, 2016
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264dec: make ff_h264_decode_init() static
It is not called from outside h264dec.c anymore.
parent
e7de05f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
h264dec.c
libavcodec/h264dec.c
+2
-2
h264dec.h
libavcodec/h264dec.h
+0
-1
No files found.
libavcodec/h264dec.c
View file @
f1af37b5
...
...
@@ -361,7 +361,7 @@ static av_cold int h264_decode_end(AVCodecContext *avctx)
static
AVOnce
h264_vlc_init
=
AV_ONCE_INIT
;
av_cold
int
ff_
h264_decode_init
(
AVCodecContext
*
avctx
)
static
av_cold
int
h264_decode_init
(
AVCodecContext
*
avctx
)
{
H264Context
*
h
=
avctx
->
priv_data
;
int
ret
;
...
...
@@ -795,7 +795,7 @@ AVCodec ff_h264_decoder = {
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
id
=
AV_CODEC_ID_H264
,
.
priv_data_size
=
sizeof
(
H264Context
),
.
init
=
ff_
h264_decode_init
,
.
init
=
h264_decode_init
,
.
close
=
h264_decode_end
,
.
decode
=
h264_decode_frame
,
.
capabilities
=
/*AV_CODEC_CAP_DRAW_HORIZ_BAND |*/
AV_CODEC_CAP_DR1
|
...
...
libavcodec/h264dec.h
View file @
f1af37b5
...
...
@@ -553,7 +553,6 @@ int ff_h264_decode_ref_pic_marking(H264SliceContext *sl, GetBitContext *gb,
const
H2645NAL
*
nal
,
void
*
logctx
);
void
ff_h264_hl_decode_mb
(
const
H264Context
*
h
,
H264SliceContext
*
sl
);
int
ff_h264_decode_init
(
AVCodecContext
*
avctx
);
void
ff_h264_decode_init_vlc
(
void
);
/**
...
...
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