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
9ad80ef3
Commit
9ad80ef3
authored
Mar 29, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: Make ff_h264_decode_end() static, it is not used externally.
Also drop the now unnecessary ff_ prefix from its name.
parent
afd8a395
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
h264.c
libavcodec/h264.c
+3
-3
h264.h
libavcodec/h264.h
+0
-1
No files found.
libavcodec/h264.c
View file @
9ad80ef3
...
...
@@ -4559,7 +4559,7 @@ av_cold void ff_h264_free_context(H264Context *h)
av_freep
(
h
->
pps_buffers
+
i
);
}
av_cold
int
ff_
h264_decode_end
(
AVCodecContext
*
avctx
)
static
av_cold
int
h264_decode_end
(
AVCodecContext
*
avctx
)
{
H264Context
*
h
=
avctx
->
priv_data
;
MpegEncContext
*
s
=
&
h
->
s
;
...
...
@@ -4596,7 +4596,7 @@ AVCodec ff_h264_decoder = {
.
id
=
CODEC_ID_H264
,
.
priv_data_size
=
sizeof
(
H264Context
),
.
init
=
ff_h264_decode_init
,
.
close
=
ff_
h264_decode_end
,
.
close
=
h264_decode_end
,
.
decode
=
decode_frame
,
.
capabilities
=
/*CODEC_CAP_DRAW_HORIZ_BAND |*/
CODEC_CAP_DR1
|
CODEC_CAP_DELAY
|
CODEC_CAP_SLICE_THREADS
|
...
...
@@ -4615,7 +4615,7 @@ AVCodec ff_h264_vdpau_decoder = {
.
id
=
CODEC_ID_H264
,
.
priv_data_size
=
sizeof
(
H264Context
),
.
init
=
ff_h264_decode_init
,
.
close
=
ff_
h264_decode_end
,
.
close
=
h264_decode_end
,
.
decode
=
decode_frame
,
.
capabilities
=
CODEC_CAP_DR1
|
CODEC_CAP_DELAY
|
CODEC_CAP_HWACCEL_VDPAU
,
.
flush
=
flush_dpb
,
...
...
libavcodec/h264.h
View file @
9ad80ef3
...
...
@@ -663,7 +663,6 @@ void ff_h264_hl_decode_mb(H264Context *h);
int
ff_h264_frame_start
(
H264Context
*
h
);
int
ff_h264_decode_extradata
(
H264Context
*
h
);
av_cold
int
ff_h264_decode_init
(
AVCodecContext
*
avctx
);
av_cold
int
ff_h264_decode_end
(
AVCodecContext
*
avctx
);
av_cold
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