Diego Biurrun
153382e1b6
multiple inclusion guard cleanup
...
Add missing multiple inclusion guards; clean up #endif comments;
add missing library prefixes; keep guard names consistent.
2011-05-21 13:48:10 +02:00
Diego Biurrun
0a6db2a25a
configure: Do not unconditionally add -Wall to host CFLAGS.
...
Some compilers choke on -Wall, so only add the flag after checking it works.
2011-05-20 17:52:24 +02:00
Diego Biurrun
4887f8245c
Rename costablegen.c ---> cos_tablegen.c.
...
This is consistent with how all other table generation programs are named.
Moreover this ensures that the cos table generation program is correctly
deleted when cleaning the tree.
2011-05-19 21:09:02 +02:00
Diego Biurrun
9f2405661d
Collapse tableprint.c into tableprint.h.
...
tableprint.c serves little purpose on its own and removing it allows building
the table generator programs with the normal HOSTPROGS Makefile rules.
2011-05-19 21:07:38 +02:00
Diego Biurrun
c98657a215
Remove potentially unstable filenames from comments in generated files.
2011-05-19 19:30:12 +02:00
Diego Biurrun
8a0572b054
Ignore generated tables and generated table generator programs.
2011-05-19 19:25:24 +02:00
Diego Biurrun
d9a69f730e
Simplify CLEANFILES make variable by using wildcards.
...
Also ensures that generated file cos_fixed_tables.c is deleted on 'make clean'.
2011-05-19 19:25:11 +02:00
Diego Biurrun
7ed0a77ff4
Remove silly insults from avformat_version() Doxygen documentation.
2011-05-19 18:28:25 +02:00
Diego Biurrun
429059f866
configure: Adjust AVX assembler check.
...
Older nasm versions have trouble assembling certain AVX instructions, but the
current AVX check did not detect this. Update the check to use an instruction
that triggers the nasm problem.
2011-05-19 16:27:40 +02:00
Diego Biurrun
ea91e77127
Clean up #includes in cmdutils.h.
...
inttypes.h is not necessary, just stdint.h is enough.
Unconditionally #include avfilter.h in cmdutils.h. It is an installed
header with no non-standard external dependencies, so it is safe.
2011-05-19 10:23:53 +02:00
Diego Biurrun
a2077b85da
g729: Merge g729.h into g729dec.c.
...
The header contains just a single define that is only used in g729dec.c.
2011-05-19 10:21:37 +02:00
Diego Biurrun
c540061f3f
cws2fws: Improve error message wording.
2011-05-16 20:56:56 +02:00
Diego Biurrun
d39facc783
tools: Check the return value of write().
...
This fixes several warnings of the type:
warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
2011-05-16 20:56:56 +02:00
Diego Biurrun
d39bf3df72
Remove unused header mpegaudio3.h.
...
The header is a part of an MP3 encoder that never saw the light of day.
2011-05-16 14:59:51 +02:00
Diego Biurrun
7f995abed3
acelp: Remove unused gray_decode table.
2011-05-15 19:01:06 +02:00
Diego Biurrun
b1bb3b8d87
dfa: Remove unused variable.
...
This fixes the warning:
libavcodec/dfa.c:189: warning: unused variable ‘frame_end’
2011-05-15 13:12:47 +02:00
Diego Biurrun
c73b779d35
configure: Include AVX availability in summary output.
2011-05-15 13:11:01 +02:00
Diego Biurrun
888fa31eca
Fix FSF address copy paste error in some license headers.
2011-05-14 21:32:31 +02:00
Diego Biurrun
0a6b1a9f21
Replace int_fast integer types with their sized standard posix counterparts.
...
The _fast integer types provide no realworld benefits, but may introduce
portability issues and are just plain ugly.
2011-05-12 12:05:54 +02:00
Diego Biurrun
be89845708
jfdct: Replace sized int_fast integer types with plain int/unsigned.
...
int/unsigned is the natural memory access type for CPUs, using sized types
for temporary variables, counters and similar just increases code size and
can possibly cause a slowdown.
2011-05-12 11:56:53 +02:00
Diego Biurrun
046f081b46
configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.
...
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems
since it causes certain system functions to be hidden on some (BSD) systems.
The solution is to only add the flag on systems that really require it, i.e.
glibc-based ones.
This change makes BSD systems compile out-of-the-box without the need for
adding specific flags manually. It also allows dropping a number of flags
set manually on a file-per-file basis, but were only present to work around
breakage introduced by the presence of _POSIX_C_SOURCE.
Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions
in several places already, so it is preferable to define it globally instead
of littering source files with individual #defines only needed for glibc.
2011-05-12 11:41:59 +02:00
Diego Biurrun
bea705752d
Remove unused softfloat implementation.
...
The softfloat functionality is unused, not installed and incomplete.
On platforms without floating point units, the compiler provides a softfloat
implementation so there is no point in carrying this code around locally.
2011-05-11 13:43:30 +02:00
Diego Biurrun
e1e0ca70eb
rotozoom: Eliminate French variable name.
2011-05-11 11:54:58 +02:00
Diego Biurrun
cbb0930f0e
rotozoom: Check return value of fread().
...
This fixes the warnings:
tests/rotozoom.c:252: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
tests/rotozoom.c:254: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
2011-05-11 11:54:57 +02:00
Diego Biurrun
771339ca20
rotozoom: Return an error value instead of calling exit().
2011-05-11 11:54:57 +02:00
Diego Biurrun
2131e8590c
rotozoom: Make init_demo() return int and check for errors on invocation.
2011-05-11 11:54:57 +02:00
Diego Biurrun
5a37c12c82
rotozoom: Drop silly UINT8 typedef.
2011-05-11 11:54:57 +02:00
Diego Biurrun
e9c10459a3
rotozoom: Drop some unnecessary parentheses.
2011-05-11 11:54:57 +02:00
Diego Biurrun
f628559d9a
rotozoom: K&R coding style cosmetics
2011-05-11 11:54:56 +02:00
Diego Biurrun
af1ca249e8
doc: Check standalone compilation before submitting new components.
2011-05-04 21:12:42 +02:00
Diego Biurrun
8799541a0a
Fix standalone compilation of pipe protocol.
...
file_check() is not only used by the file protocol, adjust #ifdef accordingly.
2011-05-04 21:12:42 +02:00
Diego Biurrun
3d26905925
Fix standalone compilation of ac3_fixed encoder.
2011-05-04 21:12:41 +02:00
Diego Biurrun
a33657ce5b
Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders.
2011-05-04 21:12:41 +02:00
Diego Biurrun
56c8227d46
Fix standalone compilation of IMC decoder.
2011-05-04 21:12:41 +02:00
Diego Biurrun
61165a1bba
Fix standalone compilation of WTV demuxer.
2011-05-04 21:12:40 +02:00
Diego Biurrun
091018e0dd
Fix standalone compilation of MXPEG decoder.
2011-05-04 21:12:40 +02:00
Diego Biurrun
35e376b0d2
flashsv: K&R cosmetics
2011-05-04 21:12:39 +02:00
Diego Biurrun
ad1862d64a
ALPHA: Replace sized int_fast integer types with plain int/unsigned.
...
int/unsigned is the natural memory access type for CPUs, using sized types
for temporary variables, counters and similar just increases code size and
can possibly cause a slowdown.
2011-05-01 20:50:12 +02:00
Diego Biurrun
cf3ac54339
vorbis: Replace sized int_fast integer types with plain int/unsigned.
...
int/unsigned is the natural memory access type for CPUs, using sized types
for temporary variables, counters and similar just increases code size and
can possibly cause a slowdown.
2011-04-29 20:28:40 +02:00
Diego Biurrun
a734fa575f
Remove disabled non-optimized code variants.
2011-04-29 20:01:13 +02:00
Diego Biurrun
e610098e7b
bswap.h: Remove disabled code.
2011-04-29 20:01:04 +02:00
Diego Biurrun
2e15305b70
Remove some disabled printf debug cruft.
2011-04-29 20:00:53 +02:00
Diego Biurrun
09cbf60f8e
Replace more disabled printf() calls by av_dlog().
2011-04-29 20:00:41 +02:00
Diego Biurrun
03acaa4a43
tests: Remove disabled code.
2011-04-29 18:08:46 +02:00
Diego Biurrun
045dd4b928
Replace some commented-out debug printf() / av_log() messages with av_dlog().
2011-04-29 17:27:01 +02:00
Diego Biurrun
d1be646e90
vorbisdec: Replace some sizeof(type) by sizeof(*variable).
2011-04-29 15:37:06 +02:00
Diego Biurrun
a3b7dabb5b
vf_fieldorder: Replace FFmpeg by Libav in license boilerplate.
2011-04-29 15:00:08 +02:00
Diego Biurrun
b239526873
vorbisdec: Rename silly "class_" variable to plain "class".
2011-04-27 19:54:55 +02:00
Diego Biurrun
81afa5a274
simple_idct_alpha: Drop some useless casts.
2011-04-27 19:52:48 +02:00
Diego Biurrun
3fd3632ffe
Simplify av_log_missing_feature().
...
Do not print the results of the conditional call to av_log_ask_for_sample()
into the same line as the main output, separate the already long text.
2011-04-27 19:48:58 +02:00
Diego Biurrun
e6ff064845
Eliminate pointless '#if 1' statements without matching '#else'.
2011-04-26 20:18:27 +02:00
Diego Biurrun
a14c08247d
flashsv: Return more meaningful error values.
2011-04-25 16:01:58 +02:00
Diego Biurrun
46cb2da1f0
flashsv: Employ explicit AVCodec struct initializers.
2011-04-25 15:41:10 +02:00
Diego Biurrun
293fe6da01
cosmetics: K&R coding style and more whitespace for Flash Screen Video
2011-04-25 01:50:07 +02:00
Diego Biurrun
2441003d3f
vorbisdec: Employ proper printf format specifiers for uint_fast32_t.
...
libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘uint_fast32_t’
libavcodec/vorbisdec.c:543: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘uint_fast32_t’
2011-04-25 01:39:55 +02:00
Diego Biurrun
89b503b55f
Lowercase all ff* program names.
2011-04-23 19:12:24 +02:00
Diego Biurrun
3a50894eaa
Refer to ff* tools by their lowercase names.
2011-04-23 19:12:23 +02:00
Diego Biurrun
43fb279f56
Replace more FFmpeg instances by Libav or ffmpeg.
2011-04-23 19:12:23 +02:00
Diego Biurrun
6252040e77
Replace `` by $() syntax in shell scripts.
...
$() is easier to nest and POSIX, which we require in other places.
2011-04-23 17:45:05 +02:00
Diego Biurrun
75e8fba823
Remove stray libavcore and _g binary references.
2011-04-23 14:23:20 +02:00
Diego Biurrun
046f3cb789
vorbis: Rename decoder/encoder files to follow general file naming scheme.
2011-04-23 14:23:20 +02:00
Diego Biurrun
62582a696b
cook: Fix small typo in av_log_ask_for_sample message.
2011-04-23 12:05:32 +02:00
Diego Biurrun
d9dee728b8
Use av_log_ask_for_sample() to request samples from users.
2011-04-22 20:12:39 +02:00
Diego Biurrun
44f566b79a
Make av_log_ask_for_sample() accept a variable number of arguments.
2011-04-22 20:12:27 +02:00
Diego Biurrun
b2832c3904
vqavideo: We no longer need to ask for version 1 samples.
2011-04-22 20:02:24 +02:00
Diego Biurrun
70fb031ce2
Use av_log_ask_for_sample() where appropriate.
2011-04-21 19:58:54 +02:00
Diego Biurrun
ab1adff73f
The stabilization period after version bumps should be one month, not one week.
2011-04-21 16:23:10 +02:00
Diego Biurrun
63de9e7d80
Remove a version check in av_log made unnecessary by the big bump.
2011-04-20 18:19:04 +02:00
Diego Biurrun
a81ff195c1
libpostproc: Remove crufty code disabled by the big bump.
2011-04-20 12:18:47 +02:00
Diego Biurrun
151cd4f982
pcm: Add const to cast in ENCODE macro.
...
This fixes a lot of warnings of the sort:
libavcodec/pcm.c:105: warning: cast discards qualifiers from pointer target type
2011-04-19 16:18:59 +02:00
Diego Biurrun
d11818eff4
Remove now obsolete references to _g-suffixed binaries.
...
Automatic stripping of binaries was removed in commit e0be794
and the _g binaries disappeared along with it.
2011-04-18 23:55:11 +02:00
Diego Biurrun
f0a41afd8a
Replace mplayerhq.hu URLs by libav.org.
2011-04-18 18:23:16 +02:00
Diego Biurrun
0b5ae1fdd3
asfdec: Remove dead code from asf_read_close().
2011-04-18 15:35:45 +02:00
Diego Biurrun
259a3e70ed
ptx: Use av_log_ask_for_sample() where appropriate.
2011-04-18 09:41:02 +02:00
Diego Biurrun
fd0c3403f6
Update regtest checksums after revision 6001dad.
...
The string "FFmpeg" was replaced by "Libav" in metadata that
got encoded in file headers.
2011-04-17 22:46:42 +02:00
Diego Biurrun
6001dad6e2
Replace more FFmpeg references by Libav.
2011-04-17 19:31:49 +02:00
Diego Biurrun
14622ef05d
Replace references to ffmpeg-devel with libav-devel; fix roundup URL.
2011-04-15 22:38:41 +02:00
Diego Biurrun
4d012eb541
xwma: Fix wrong printf format expression.
...
Also add inttypes.h #include for PRId64 macros.
This fixes the following warnings:
libavformat/xwma.c:147: warning: too many arguments for format
libavformat/xwma.c:151: warning: too many arguments for format
2011-04-15 13:28:04 +02:00
Diego Biurrun
db46be01ec
Add unconditional return statement to yuva420_rgb32_MMX() / yuva420_bgr32_MMX().
...
When HAVE_7REGS was not defined these functions had an empty body
causing the following warnings during compilation.
In file included from libswscale/x86/yuv2rgb_mmx.c:58:
libswscale/x86/yuv2rgb_template.c: In function ‘yuva420_rgb32_MMX’:
libswscale/x86/yuv2rgb_template.c:412: warning: no return statement in function returning non-void
libswscale/x86/yuv2rgb_template.c: In function ‘yuva420_bgr32_MMX’:
libswscale/x86/yuv2rgb_template.c:457: warning: no return statement in function returning non-void
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2011-04-11 14:18:48 +02:00
Diego Biurrun
70ad9842a5
Fix compilation of timefilter test program.
...
The printf function is forbidden in library code, but not in test programs,
so #undefine the printf macro that disables the system printf function.
Signed-off-by: Diego Biurrun <diego@biurrun.de >
2011-04-11 14:18:48 +02:00
Diego Biurrun
a44da176ac
Remove some pointless CONFIG_RTSP_DEMUXER #ifdefs.
...
They reside within a large CONFIG_RTSP_DEMUXER block and are thus pointless.
Originally committed as revision 25343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-05 11:06:32 +00:00
Diego Biurrun
2e802e3855
Add some #endif comments to ease understanding.
...
Originally committed as revision 25342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-05 11:03:48 +00:00
Diego Biurrun
26d5112c57
cosmetics: Place concat protocol entry in alphabetical order.
...
Originally committed as revision 25155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-21 22:21:12 +00:00
Diego Biurrun
e47ca217cb
Use filename as pattern for multiple inclusion guards.
...
Originally committed as revision 25079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-08 16:02:20 +00:00
Diego Biurrun
a9b98c0134
Add missing stdint.h #include; necessary to pass 'make checkheaders'.
...
Originally committed as revision 25078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-08 15:34:13 +00:00
Diego Biurrun
625bac784b
Use quotes instead of angle brackets for local #includes.
...
Originally committed as revision 25015 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-01 02:12:03 +00:00
Diego Biurrun
7dbcc4f810
Mention that library micro version should be reset if minor version is bumped.
...
Originally committed as revision 25010 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 12:54:40 +00:00
Diego Biurrun
6fa5a91b14
Remove dep/depend targets and related variables.
...
We no longer create dependency files directly, so the rules are now pointless.
Originally committed as revision 24807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 15:02:33 +00:00
Diego Biurrun
3123823cb2
Skip adding SDL_CFLAGS to CFLAGS for the ffplay.d target.
...
We no longer create .d files directly, so the rule is pointless.
Originally committed as revision 24805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 14:58:44 +00:00
Diego Biurrun
7d07d6f529
Only check for for libvpx decoder/encoder if libvpx is enabled.
...
Originally committed as revision 24744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-08 08:51:15 +00:00
Diego Biurrun
3447f12d66
Add a CONFIG_ variable for generic Huffman routines.
...
Originally committed as revision 24715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-06 10:29:14 +00:00
Diego Biurrun
06a2ba230b
Extend the gas-preprocessor section with basic installation instructions.
...
Originally committed as revision 24713 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-06 10:01:31 +00:00
Diego Biurrun
83abdf5ff0
The VP8 decoder does not depend on cabac.o.
...
Originally committed as revision 24674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 23:49:49 +00:00
Diego Biurrun
efbc455915
The VP8 decoder does not depend on vp56.o and vp56data.o.
...
Originally committed as revision 24673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 23:23:27 +00:00
Diego Biurrun
2e2ca50655
Remove redundant h264pred.o from VP8 objects list.
...
It is already selected through the H264DSP dependency of VP8.
Originally committed as revision 24672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 23:16:52 +00:00
Diego Biurrun
440e3b2f7f
Add -Wno-parentheses to CFLAGS.
...
Without this flag -Wall generates warnings that nobody wants to see fixed or
worked around. Disabling those warnings is thus the best solution.
Originally committed as revision 24666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 17:09:55 +00:00
Diego Biurrun
153da88dfb
Add some braces to silence the warning:
...
libavcodec/vp8.c:892: warning: suggest explicit braces to avoid ambiguous `else'
Originally committed as revision 24366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 17:45:54 +00:00
Diego Biurrun
12002cae59
Remove outdated entries about bt8x8 capture on Linux 2.4 kernels.
...
Originally committed as revision 24324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-19 09:13:56 +00:00
Diego Biurrun
008a44ef8b
Mark URL as such with texinfo markup.
...
Originally committed as revision 24323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-19 08:56:55 +00:00
Diego Biurrun
2c880fe101
Clarify bug reporting policy with regard to releases.
...
Originally committed as revision 24322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-19 08:41:47 +00:00