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
95c7cad7
Commit
95c7cad7
authored
Mar 30, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: remove empty function
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
c838701c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
38 deletions
+1
-38
v308dec.c
libavcodec/v308dec.c
+0
-7
v408dec.c
libavcodec/v408dec.c
+0
-8
xbmdec.c
libavcodec/xbmdec.c
+1
-9
y41pdec.c
libavcodec/y41pdec.c
+0
-7
yuv4dec.c
libavcodec/yuv4dec.c
+0
-7
No files found.
libavcodec/v308dec.c
View file @
95c7cad7
...
...
@@ -72,19 +72,12 @@ static int v308_decode_frame(AVCodecContext *avctx, void *data,
return
avpkt
->
size
;
}
static
av_cold
int
v308_decode_close
(
AVCodecContext
*
avctx
)
{
return
0
;
}
AVCodec
ff_v308_decoder
=
{
.
name
=
"v308"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
id
=
AV_CODEC_ID_V308
,
.
init
=
v308_decode_init
,
.
decode
=
v308_decode_frame
,
.
close
=
v308_decode_close
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Uncompressed packed 4:4:4"
),
};
libavcodec/v408dec.c
View file @
95c7cad7
...
...
@@ -79,12 +79,6 @@ static int v408_decode_frame(AVCodecContext *avctx, void *data,
return
avpkt
->
size
;
}
static
av_cold
int
v408_decode_close
(
AVCodecContext
*
avctx
)
{
return
0
;
}
#if CONFIG_AYUV_DECODER
AVCodec
ff_ayuv_decoder
=
{
.
name
=
"ayuv"
,
...
...
@@ -92,7 +86,6 @@ AVCodec ff_ayuv_decoder = {
.
id
=
AV_CODEC_ID_AYUV
,
.
init
=
v408_decode_init
,
.
decode
=
v408_decode_frame
,
.
close
=
v408_decode_close
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Uncompressed packed MS 4:4:4:4"
),
};
...
...
@@ -104,7 +97,6 @@ AVCodec ff_v408_decoder = {
.
id
=
AV_CODEC_ID_V408
,
.
init
=
v408_decode_init
,
.
decode
=
v408_decode_frame
,
.
close
=
v408_decode_close
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Uncompressed packed QT 4:4:4:4"
),
};
...
...
libavcodec/xbmdec.c
View file @
95c7cad7
...
...
@@ -27,6 +27,7 @@
static
av_cold
int
xbm_decode_init
(
AVCodecContext
*
avctx
)
{
avctx
->
pix_fmt
=
AV_PIX_FMT_MONOWHITE
;
return
0
;
}
...
...
@@ -73,8 +74,6 @@ static int xbm_decode_frame(AVCodecContext *avctx, void *data,
ptr
+=
strcspn
(
ptr
,
"
\n\r
"
)
+
1
;
}
avctx
->
pix_fmt
=
AV_PIX_FMT_MONOWHITE
;
if
((
ret
=
ff_get_buffer
(
avctx
,
p
,
0
))
<
0
)
return
ret
;
...
...
@@ -109,18 +108,11 @@ static int xbm_decode_frame(AVCodecContext *avctx, void *data,
return
avpkt
->
size
;
}
static
av_cold
int
xbm_decode_close
(
AVCodecContext
*
avctx
)
{
return
0
;
}
AVCodec
ff_xbm_decoder
=
{
.
name
=
"xbm"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
id
=
AV_CODEC_ID_XBM
,
.
init
=
xbm_decode_init
,
.
close
=
xbm_decode_close
,
.
decode
=
xbm_decode_frame
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"XBM (X BitMap) image"
),
...
...
libavcodec/y41pdec.c
View file @
95c7cad7
...
...
@@ -81,19 +81,12 @@ static int y41p_decode_frame(AVCodecContext *avctx, void *data,
return
avpkt
->
size
;
}
static
av_cold
int
y41p_decode_close
(
AVCodecContext
*
avctx
)
{
return
0
;
}
AVCodec
ff_y41p_decoder
=
{
.
name
=
"y41p"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
id
=
AV_CODEC_ID_Y41P
,
.
init
=
y41p_decode_init
,
.
decode
=
y41p_decode_frame
,
.
close
=
y41p_decode_close
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Uncompressed YUV 4:1:1 12-bit"
),
};
libavcodec/yuv4dec.c
View file @
95c7cad7
...
...
@@ -73,19 +73,12 @@ static int yuv4_decode_frame(AVCodecContext *avctx, void *data,
return
avpkt
->
size
;
}
static
av_cold
int
yuv4_decode_close
(
AVCodecContext
*
avctx
)
{
return
0
;
}
AVCodec
ff_yuv4_decoder
=
{
.
name
=
"yuv4"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
id
=
AV_CODEC_ID_YUV4
,
.
init
=
yuv4_decode_init
,
.
decode
=
yuv4_decode_frame
,
.
close
=
yuv4_decode_close
,
.
capabilities
=
CODEC_CAP_DR1
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Uncompressed packed 4:2:0"
),
};
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