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
679481b3
Commit
679481b3
authored
Apr 10, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop some pointless #ifdefs.
The files are only compiled if the #ifdef conditions are met.
parent
2130bd8f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
8 deletions
+0
-8
libxvidff.c
libavcodec/libxvidff.c
+0
-4
snowenc.c
libavcodec/snowenc.c
+0
-2
nutdec.c
libavformat/nutdec.c
+0
-2
No files found.
libavcodec/libxvidff.c
View file @
679481b3
...
...
@@ -114,8 +114,6 @@ int ff_tempfile(const char *prefix, char **filename) {
return
fd
;
/* success */
}
#if CONFIG_LIBXVID_ENCODER
/**
* Create the private context for the encoder.
* All buffers are allocated, settings are loaded from the user,
...
...
@@ -830,5 +828,3 @@ AVCodec ff_libxvid_encoder = {
.
pix_fmts
=
(
const
enum
PixelFormat
[]){
PIX_FMT_YUV420P
,
PIX_FMT_NONE
},
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"libxvidcore MPEG-4 part 2"
),
};
#endif
/* CONFIG_LIBXVID_ENCODER */
libavcodec/snowenc.c
View file @
679481b3
...
...
@@ -152,7 +152,6 @@ static void dwt_quantize(SnowContext *s, Plane *p, DWTELEM *buffer, int width, i
#endif
/* QUANTIZE2==1 */
#if CONFIG_SNOW_ENCODER
static
av_cold
int
encode_init
(
AVCodecContext
*
avctx
)
{
SnowContext
*
s
=
avctx
->
priv_data
;
...
...
@@ -1925,4 +1924,3 @@ AVCodec ff_snow_encoder = {
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"Snow"
),
.
priv_class
=
&
snowenc_class
,
};
#endif
libavformat/nutdec.c
View file @
679481b3
...
...
@@ -985,7 +985,6 @@ static int nut_read_close(AVFormatContext *s)
return
0
;
}
#if CONFIG_NUT_DEMUXER
AVInputFormat
ff_nut_demuxer
=
{
.
name
=
"nut"
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"NUT format"
),
...
...
@@ -1001,4 +1000,3 @@ AVInputFormat ff_nut_demuxer = {
ff_nut_subtitle_tags
,
0
},
};
#endif
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