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
6ec0447d
Commit
6ec0447d
authored
Mar 12, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xface: remove unused stuff, fix related warnings
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b36095ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
xfacedec.c
libavcodec/xfacedec.c
+0
-10
No files found.
libavcodec/xfacedec.c
View file @
6ec0447d
...
...
@@ -92,8 +92,6 @@ typedef struct XFaceContext {
static
av_cold
int
xface_decode_init
(
AVCodecContext
*
avctx
)
{
XFaceContext
*
xface
=
avctx
->
priv_data
;
if
(
avctx
->
width
||
avctx
->
height
)
{
if
(
avctx
->
width
!=
XFACE_WIDTH
||
avctx
->
height
!=
XFACE_HEIGHT
)
{
av_log
(
avctx
,
AV_LOG_ERROR
,
...
...
@@ -110,13 +108,6 @@ static av_cold int xface_decode_init(AVCodecContext *avctx)
return
0
;
}
static
av_cold
int
xface_decode_close
(
AVCodecContext
*
avctx
)
{
XFaceContext
*
xface
=
avctx
->
priv_data
;
return
0
;
}
static
int
xface_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
got_frame
,
AVPacket
*
avpkt
)
...
...
@@ -191,7 +182,6 @@ AVCodec ff_xface_decoder = {
.
id
=
AV_CODEC_ID_XFACE
,
.
priv_data_size
=
sizeof
(
XFaceContext
),
.
init
=
xface_decode_init
,
.
close
=
xface_decode_close
,
.
decode
=
xface_decode_frame
,
.
pix_fmts
=
(
const
enum
AVPixelFormat
[])
{
AV_PIX_FMT_MONOWHITE
,
AV_PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"X-face image"
),
...
...
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