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
1a0370ad
Commit
1a0370ad
authored
Jan 08, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/kgv1dec: remove unused function and variable
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
c8c7736c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
kgv1dec.c
libavcodec/kgv1dec.c
+0
-9
No files found.
libavcodec/kgv1dec.c
View file @
1a0370ad
...
@@ -162,19 +162,11 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
...
@@ -162,19 +162,11 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
static
av_cold
int
decode_init
(
AVCodecContext
*
avctx
)
static
av_cold
int
decode_init
(
AVCodecContext
*
avctx
)
{
{
KgvContext
*
const
c
=
avctx
->
priv_data
;
avctx
->
pix_fmt
=
AV_PIX_FMT_RGB555
;
avctx
->
pix_fmt
=
AV_PIX_FMT_RGB555
;
return
0
;
return
0
;
}
}
static
av_cold
int
decode_end
(
AVCodecContext
*
avctx
)
{
KgvContext
*
const
c
=
avctx
->
priv_data
;
return
0
;
}
AVCodec
ff_kgv1_decoder
=
{
AVCodec
ff_kgv1_decoder
=
{
.
name
=
"kgv1"
,
.
name
=
"kgv1"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Kega Game Video"
),
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Kega Game Video"
),
...
@@ -182,7 +174,6 @@ AVCodec ff_kgv1_decoder = {
...
@@ -182,7 +174,6 @@ AVCodec ff_kgv1_decoder = {
.
id
=
AV_CODEC_ID_KGV1
,
.
id
=
AV_CODEC_ID_KGV1
,
.
priv_data_size
=
sizeof
(
KgvContext
),
.
priv_data_size
=
sizeof
(
KgvContext
),
.
init
=
decode_init
,
.
init
=
decode_init
,
.
close
=
decode_end
,
.
decode
=
decode_frame
,
.
decode
=
decode_frame
,
.
flush
=
decode_flush
,
.
flush
=
decode_flush
,
.
capabilities
=
CODEC_CAP_DR1
,
.
capabilities
=
CODEC_CAP_DR1
,
...
...
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