ffmpeg.git
10 years agoMove output redirection of deps generation from make rule to DEPEND_CMD
Måns Rullgård [Wed, 22 Jul 2009 22:30:20 +0000 (22:30 +0000)]
Move output redirection of deps generation from make rule to DEPEND_CMD

Originally committed as revision 19493 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDo not redundantly check for both CONFIG_THEORA_DECODER and CONFIG_VP3_DECODER.
Diego Biurrun [Wed, 22 Jul 2009 22:27:10 +0000 (22:27 +0000)]
Do not redundantly check for both CONFIG_THEORA_DECODER and CONFIG_VP3_DECODER.
The Theora decoder depends on the VP3 decoder.

Originally committed as revision 19492 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake Theora decoder depend on the VP3 decoder.
Diego Biurrun [Wed, 22 Jul 2009 21:36:50 +0000 (21:36 +0000)]
Make Theora decoder depend on the VP3 decoder.
Practically all the code is shared.

Originally committed as revision 19491 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoconfigure: group tests for compiler characteristics together
Måns Rullgård [Wed, 22 Jul 2009 20:41:41 +0000 (20:41 +0000)]
configure: group tests for compiler characteristics together

Originally committed as revision 19490 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoconfigure: set -mdynamic-no-pic flag in main darwin section
Måns Rullgård [Wed, 22 Jul 2009 20:41:39 +0000 (20:41 +0000)]
configure: set -mdynamic-no-pic flag in main darwin section

Originally committed as revision 19489 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoconfigure: remove special flags for XLC on Darwin
Måns Rullgård [Wed, 22 Jul 2009 20:41:35 +0000 (20:41 +0000)]
configure: remove special flags for XLC on Darwin

Rationale:
- Current versions of XLC accept gcc flags
- XLC can't compile FFmpeg

Originally committed as revision 19488 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoconfigure: remove some darwin-related cruft
Måns Rullgård [Wed, 22 Jul 2009 20:41:31 +0000 (20:41 +0000)]
configure: remove some darwin-related cruft

Originally committed as revision 19487 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix building of tools/*
Måns Rullgård [Wed, 22 Jul 2009 16:14:59 +0000 (16:14 +0000)]
Fix building of tools/*

Fixes issue 1282

Originally committed as revision 19486 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoconfigure: group all cpu-specific tests together
Måns Rullgård [Wed, 22 Jul 2009 16:05:24 +0000 (16:05 +0000)]
configure: group all cpu-specific tests together

Originally committed as revision 19485 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd missing stdint.h #include to fix 'make checkheaders'.
Diego Biurrun [Wed, 22 Jul 2009 15:11:00 +0000 (15:11 +0000)]
Add missing stdint.h #include to fix 'make checkheaders'.

Originally committed as revision 19484 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove unused global variable.
Carl Eugen Hoyos [Wed, 22 Jul 2009 08:28:58 +0000 (08:28 +0000)]
Remove unused global variable.

Originally committed as revision 19483 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoCalculate gradient from parameter instead of using a global variable.
Carl Eugen Hoyos [Wed, 22 Jul 2009 08:26:17 +0000 (08:26 +0000)]
Calculate gradient from parameter instead of using a global variable.

Originally committed as revision 19482 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRevert unintended portion of last commit. (Setting the default coder to
Alex Converse [Wed, 22 Jul 2009 03:56:08 +0000 (03:56 +0000)]
Revert unintended portion of last commit. (Setting the default coder to
twoloop.)

Originally committed as revision 19481 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoBe sure to increment our position in the coefficient array when skipping a zero
Alex Converse [Wed, 22 Jul 2009 03:53:30 +0000 (03:53 +0000)]
Be sure to increment our position in the coefficient array when skipping a zero
band in the twoloop scalefactor search.

Originally committed as revision 19480 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove unused variables.
Ramiro Polla [Tue, 21 Jul 2009 20:17:15 +0000 (20:17 +0000)]
Remove unused variables.

Originally committed as revision 29435 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agox11grab: remove unnecessary #includes and senseless #define
Måns Rullgård [Tue, 21 Jul 2009 14:32:05 +0000 (14:32 +0000)]
x11grab: remove unnecessary #includes and senseless #define

Originally committed as revision 19479 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDue to a typo in videogen.c, the regression test videos were not as
Carl Eugen Hoyos [Tue, 21 Jul 2009 10:37:23 +0000 (10:37 +0000)]
Due to a typo in videogen.c, the regression test videos were not as
complex as originally planned.
Typo fixed (the background moves less linear now) and regression test
results updated.

Originally committed as revision 19478 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake E-AC-3 decoder depend on the AC-3 decoder.
Diego Biurrun [Tue, 21 Jul 2009 09:03:45 +0000 (09:03 +0000)]
Make E-AC-3 decoder depend on the AC-3 decoder.
It is impossible to build E-AC-3 without AC-3.

Originally committed as revision 19477 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRegister some additional AMF types in libavformat/flv.h
Kostya Shishkov [Tue, 21 Jul 2009 07:18:14 +0000 (07:18 +0000)]
Register some additional AMF types in libavformat/flv.h

Originally committed as revision 19476 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoARM: handle VFP register arguments in ff_vector_fmul_window_neon()
Måns Rullgård [Mon, 20 Jul 2009 22:30:27 +0000 (22:30 +0000)]
ARM: handle VFP register arguments in ff_vector_fmul_window_neon()

Originally committed as revision 19475 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoARM: check for VFP register arguments
Måns Rullgård [Mon, 20 Jul 2009 22:30:24 +0000 (22:30 +0000)]
ARM: check for VFP register arguments

Originally committed as revision 19474 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove an unused field from the BandCodingPath struct.
Alex Converse [Mon, 20 Jul 2009 21:52:03 +0000 (21:52 +0000)]
Remove an unused field from the BandCodingPath struct.

Originally committed as revision 19473 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoActually use all the codebooks we are iterating over in the two-loop scalefactor...
Alex Converse [Mon, 20 Jul 2009 20:32:27 +0000 (20:32 +0000)]
Actually use all the codebooks we are iterating over in the two-loop scalefactor search.

Originally committed as revision 19472 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoconfigure: make --extra-cflags cumulative again
Måns Rullgård [Mon, 20 Jul 2009 19:00:59 +0000 (19:00 +0000)]
configure: make --extra-cflags cumulative again

Originally committed as revision 19471 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix an integer overflow in the AAC encoder.
Alex Converse [Mon, 20 Jul 2009 18:27:17 +0000 (18:27 +0000)]
Fix an integer overflow in the AAC encoder.

Originally committed as revision 19470 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMerge AMR and OpenCORE documentation sections.
Diego Biurrun [Mon, 20 Jul 2009 10:45:03 +0000 (10:45 +0000)]
Merge AMR and OpenCORE documentation sections.

Originally committed as revision 19469 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake VP6A/VP6F decoders depend on the VP6 decoder.
Diego Biurrun [Mon, 20 Jul 2009 09:24:59 +0000 (09:24 +0000)]
Make VP6A/VP6F decoders depend on the VP6 decoder.
They share so much code that enabling one without the other is pointless.

Originally committed as revision 19468 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove two more lines related to the WMV3 decoder.
Diego Biurrun [Sun, 19 Jul 2009 11:14:43 +0000 (11:14 +0000)]
Remove two more lines related to the WMV3 decoder.
They are now enabled by the VC-1 decoder.

Originally committed as revision 19467 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake WMV3 decoders depend on their VC-1 counterparts.
Diego Biurrun [Sun, 19 Jul 2009 11:07:10 +0000 (11:07 +0000)]
Make WMV3 decoders depend on their VC-1 counterparts.
They share so much code that enabling one without the other is pointless.

Originally committed as revision 19466 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSupport building with TI TMS470 compiler
Måns Rullgård [Sun, 19 Jul 2009 10:52:35 +0000 (10:52 +0000)]
Support building with TI TMS470 compiler

Originally committed as revision 19465 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoConsistently lowercase all HTML tags.
Diego Biurrun [Sun, 19 Jul 2009 10:44:36 +0000 (10:44 +0000)]
Consistently lowercase all HTML tags.

Originally committed as revision 19464 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIf any input/output devices are enabled then indevs/outdevs should
Diego Biurrun [Sun, 19 Jul 2009 10:40:28 +0000 (10:40 +0000)]
If any input/output devices are enabled then indevs/outdevs should
get enabled, not demuxers/muxers.

Originally committed as revision 19463 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse globally consistent include guard names.
Stefano Sabatini [Sun, 19 Jul 2009 09:38:58 +0000 (09:38 +0000)]
Use globally consistent include guard names.

Originally committed as revision 19462 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoReplace two occurrences of 'vfwcap_demuxer' with 'vfwcap_indev', I
Stefano Sabatini [Sat, 18 Jul 2009 10:38:53 +0000 (10:38 +0000)]
Replace two occurrences of 'vfwcap_demuxer' with 'vfwcap_indev', I
missed them in r19293. Re-enable version check on w32api.h if the
vfwcap input device has been selected.

Originally committed as revision 19461 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAllow enabling alsa and jack devices.
Carl Eugen Hoyos [Sat, 18 Jul 2009 09:32:26 +0000 (09:32 +0000)]
Allow enabling alsa and jack devices.

Originally committed as revision 19460 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoReplace pow(x, 0.75) with sqrtf(x * sqrtf(x)) for a 33% speedup.
Alex Converse [Fri, 17 Jul 2009 14:21:49 +0000 (14:21 +0000)]
Replace pow(x, 0.75) with sqrtf(x * sqrtf(x)) for a 33% speedup.

Originally committed as revision 19459 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake sure that tests/seek_test.o gets deleted on 'make clean'.
Diego Biurrun [Fri, 17 Jul 2009 14:08:06 +0000 (14:08 +0000)]
Make sure that tests/seek_test.o gets deleted on 'make clean'.
Closes issue 1273.

Originally committed as revision 19458 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDead code removal in the AAC encoder.
Alex Converse [Fri, 17 Jul 2009 14:06:53 +0000 (14:06 +0000)]
Dead code removal in the AAC encoder.

Originally committed as revision 19457 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoconfigure: improve detection of out-of-tree builds
Måns Rullgård [Fri, 17 Jul 2009 13:10:26 +0000 (13:10 +0000)]
configure: improve detection of out-of-tree builds

Originally committed as revision 19456 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoconfigure: remove some useless comments
Måns Rullgård [Fri, 17 Jul 2009 13:10:23 +0000 (13:10 +0000)]
configure: remove some useless comments

Originally committed as revision 19455 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIcc 11.1 still does not align the stack pointer, disable some x264 functions.
Carl Eugen Hoyos [Fri, 17 Jul 2009 09:07:38 +0000 (09:07 +0000)]
Icc 11.1 still does not align the stack pointer, disable some x264 functions.

Originally committed as revision 19454 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoCheck for __attribute__((packed)) support
Måns Rullgård [Fri, 17 Jul 2009 08:21:43 +0000 (08:21 +0000)]
Check for __attribute__((packed)) support

Not all compilers claiming to be gcc support this attribute.

Originally committed as revision 19453 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoconfigure: handle --cpu before running compiler
Måns Rullgård [Fri, 17 Jul 2009 08:21:41 +0000 (08:21 +0000)]
configure: handle --cpu before running compiler

It is possible that the compiler requires flags set by the --cpu
option, so we should not attempt to run it before those flags have
been added.

Originally committed as revision 19452 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoconfigure: simplify --cpu handling slightly
Måns Rullgård [Fri, 17 Jul 2009 08:21:37 +0000 (08:21 +0000)]
configure: simplify --cpu handling slightly

Originally committed as revision 19451 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agocosmetics: reindent after last commit
Kostya Shishkov [Fri, 17 Jul 2009 04:30:49 +0000 (04:30 +0000)]
cosmetics: reindent after last commit

Originally committed as revision 19450 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd SHA-2 hashing
Kostya Shishkov [Fri, 17 Jul 2009 04:30:06 +0000 (04:30 +0000)]
Add SHA-2 hashing

Originally committed as revision 19449 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd iirfilter to the TESTPROGS variable (and target)
Alex Converse [Thu, 16 Jul 2009 22:39:50 +0000 (22:39 +0000)]
Add iirfilter to the TESTPROGS variable (and target)

Originally committed as revision 19448 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRename invalid option name "gop" to "g" in opt_target(), so that
Lou Logan [Thu, 16 Jul 2009 22:32:41 +0000 (22:32 +0000)]
Rename invalid option name "gop" to "g" in opt_target(), so that
-target *-dvd works correctly.

Patch by Lou Logan <$firstname@fakeoutdoorsman com>.

Originally committed as revision 19447 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse CPPFLAGS when building tests
Måns Rullgård [Thu, 16 Jul 2009 22:29:17 +0000 (22:29 +0000)]
Use CPPFLAGS when building tests

Originally committed as revision 19446 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoconfigure: do not warn about mismatching altivec/cpu selection
Måns Rullgård [Thu, 16 Jul 2009 22:29:15 +0000 (22:29 +0000)]
configure: do not warn about mismatching altivec/cpu selection

We do not issue similar warnings for other architectures, and we
generally assume users know what they want.

Originally committed as revision 19445 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoWhen calculating AAC quantized band cost, don't leave garbage in the bit count
Alex Converse [Thu, 16 Jul 2009 22:20:17 +0000 (22:20 +0000)]
When calculating AAC quantized band cost, don't leave garbage in the bit count
for the 0 codebook.

Originally committed as revision 19444 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIIR filter test program.
Alex Converse [Thu, 16 Jul 2009 22:17:20 +0000 (22:17 +0000)]
IIR filter test program.

Originally committed as revision 19443 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agocosmetics: Move some code blocks to reduce the number of #ifdefs.
Diego Biurrun [Thu, 16 Jul 2009 21:37:58 +0000 (21:37 +0000)]
cosmetics: Move some code blocks to reduce the number of #ifdefs.

Originally committed as revision 19442 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUpdate project URL for OpenCORE AMR.
Martin Storsjö [Thu, 16 Jul 2009 16:12:57 +0000 (16:12 +0000)]
Update project URL for OpenCORE AMR.
patch by Martin Storsjö, martin martin st

Originally committed as revision 19441 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix check_func_headers. The reference to the function under test was being
Martin Storsjö [Thu, 16 Jul 2009 16:02:50 +0000 (16:02 +0000)]
Fix check_func_headers. The reference to the function under test was being
optimized out by gcc when the headers lied about the function existing,
rendering the test useless in that situation.
This new test throws a warning in mingw-w64, but that should not be a problem.
Patch by Martin Storsjö <martin at martin dot st>

Originally committed as revision 19440 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDisable gcc auto-vectorisation
Måns Rullgård [Wed, 15 Jul 2009 19:02:07 +0000 (19:02 +0000)]
Disable gcc auto-vectorisation

The auto-vectoriser in gcc is enabled by default at -O3 since version
4.3.  However, it provides no speed benefit, but does produce incorrect
code on many targets.  Disabling it for gcc should give more reliable
builds.

If the adventurous want it back, they can edit the makefile themselves.

Originally committed as revision 19439 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRequire aligned memory for everything that needs it
Måns Rullgård [Wed, 15 Jul 2009 18:33:12 +0000 (18:33 +0000)]
Require aligned memory for everything that needs it

Altivec, NEON, and SSE require more alignment than standard malloc()
guarantees, whereas MMX does not.  Update checks to reflect this.

Originally committed as revision 19438 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSkip the check for SSE aligned memory allocators when SSE is disabled.
Diego Biurrun [Wed, 15 Jul 2009 12:23:38 +0000 (12:23 +0000)]
Skip the check for SSE aligned memory allocators when SSE is disabled.
Fixes issue 1269.

Originally committed as revision 19437 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoOnly free '*ic_ptr' when a caller has pre-allocated a context and passed it in
Art Clarke [Wed, 15 Jul 2009 10:00:16 +0000 (10:00 +0000)]
Only free '*ic_ptr' when a caller has pre-allocated a context and passed it in
(wherein av_open_input_file assumes memory ownership).
Patch by Art Clarke a<surname> xuggle com

Originally committed as revision 19436 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoprint atom info during parsing, patch by Frank Barchard, fbarchard at google dot com
Frank Barchard [Wed, 15 Jul 2009 08:57:27 +0000 (08:57 +0000)]
print atom info during parsing, patch by Frank Barchard, fbarchard at google dot com

Originally committed as revision 19435 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse normal check_func test for math functions
Måns Rullgård [Wed, 15 Jul 2009 08:22:06 +0000 (08:22 +0000)]
Use normal check_func test for math functions

Originally committed as revision 19434 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse ff_neterrno instead of errno in tcp.c.
Martin Storsjö [Wed, 15 Jul 2009 05:52:49 +0000 (05:52 +0000)]
Use ff_neterrno instead of errno in tcp.c.
If ff_neterrno() is checked instead of errno, that's probably what should be
used in the return value.
As a sideeffect, this gives better compatibility with Windows (CE), where
network errors aren't visible in errno.)
patch by Martin Storsjö, martin martin st

Originally committed as revision 19433 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSet subtitle type in DVB subtitle decoder.
Janne Grunau [Tue, 14 Jul 2009 23:12:43 +0000 (23:12 +0000)]
Set subtitle type in DVB subtitle decoder.

Patch by Janne Grunau <j?nne-f?mpeg@jannau?net>.

Originally committed as revision 19432 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoImprove linker check for Winsock library name.
Martin Storsjö [Tue, 14 Jul 2009 14:02:09 +0000 (14:02 +0000)]
Improve linker check for Winsock library name.
On Windows CE, the Winsock library name is ws2, not ws2_32.
patch by Martin Storsjö, martin martin st

Originally committed as revision 19431 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove unnecessary rtsp.h #include.
Diego Biurrun [Tue, 14 Jul 2009 13:50:05 +0000 (13:50 +0000)]
Remove unnecessary rtsp.h #include.
Nothing from the header was used and it caused trouble on Windows CE.

Originally committed as revision 19430 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse cutoff frequency to adjust bandwidth in the generic psymodel preprocess.
Alex Converse [Tue, 14 Jul 2009 05:22:23 +0000 (05:22 +0000)]
Use cutoff frequency to adjust bandwidth in the generic psymodel preprocess.

Originally committed as revision 19429 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSet default flag filters before compiler detection
Måns Rullgård [Mon, 13 Jul 2009 22:46:10 +0000 (22:46 +0000)]
Set default flag filters before compiler detection

This allows use of the add_*flags functions in the compiler detection
section.

Originally committed as revision 19428 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoInstall the mingw import libraries, too.
Martin Storsjö [Mon, 13 Jul 2009 21:59:26 +0000 (21:59 +0000)]
Install the mingw import libraries, too.
Patch by Martin Storsjö <martin at martin dot st>

Originally committed as revision 19427 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoEnable creation of microsoft-style import libraries on arm.
Martin Storsjö [Mon, 13 Jul 2009 19:08:27 +0000 (19:08 +0000)]
Enable creation of microsoft-style import libraries on arm.
Patch by Martin Storsjö <martin at martin dot st>

Originally committed as revision 19426 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoOnly #define lseek to _lseeki64 on MinGW, not MinGW CE.
İsmail Dönmez [Mon, 13 Jul 2009 17:16:36 +0000 (17:16 +0000)]
Only #define lseek to _lseeki64 on MinGW, not MinGW CE.
This fixes compilation on WinCE, which does not support _lseeki64.
patch by Ismail Dönmez, ismail namtrac org

Originally committed as revision 19425 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix "warning: assignment discards qualifiers from pointer target type"
David Conrad [Mon, 13 Jul 2009 01:59:48 +0000 (01:59 +0000)]
Fix "warning: assignment discards qualifiers from pointer target type"

Originally committed as revision 19424 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix memory leak in libtheora encoder
Art Clarke [Mon, 13 Jul 2009 01:59:45 +0000 (01:59 +0000)]
Fix memory leak in libtheora encoder
Patch by Art Clarke [aclark , xuggle . com]

Originally committed as revision 19423 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse add_*flags only after compiler-specific configuration
Måns Rullgård [Sun, 12 Jul 2009 23:03:08 +0000 (23:03 +0000)]
Use add_*flags only after compiler-specific configuration

Originally committed as revision 19422 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAllow filtering of flags passed to compiler and assembler
Måns Rullgård [Sun, 12 Jul 2009 22:44:05 +0000 (22:44 +0000)]
Allow filtering of flags passed to compiler and assembler

This can be used to map gcc-type flags to equivalents with other
compilers.

Originally committed as revision 19421 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake (de)muxers for format variants select the main format (de)muxer.
Diego Biurrun [Sun, 12 Jul 2009 22:31:05 +0000 (22:31 +0000)]
Make (de)muxers for format variants select the main format (de)muxer.
It makes little sense to enable the variant without the main format.

Originally committed as revision 19420 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoPlace flags for dependency generation in DEPFLAGS
Måns Rullgård [Sun, 12 Jul 2009 22:28:24 +0000 (22:28 +0000)]
Place flags for dependency generation in DEPFLAGS

This avoids duplicating the full DEPEND_CMD line only to change some
flags.

Originally committed as revision 19419 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSet CPPFLAGS in config.mak using normal assignment
Måns Rullgård [Sun, 12 Jul 2009 21:14:00 +0000 (21:14 +0000)]
Set CPPFLAGS in config.mak using normal assignment

Setting this value using ?= caused some trouble if it was already
defined in the environment.

Originally committed as revision 19418 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoProtect config.mak against multiple inclusion
Måns Rullgård [Sun, 12 Jul 2009 21:13:57 +0000 (21:13 +0000)]
Protect config.mak against multiple inclusion

Some of the values set here are modified by the main makefiles
and should not be reset when config.mak is included again.

Originally committed as revision 19417 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAppend the user CPPFLAGS value to the CPPFLAGS used for compilation,
Stefano Sabatini [Sun, 12 Jul 2009 15:50:25 +0000 (15:50 +0000)]
Append the user CPPFLAGS value to the CPPFLAGS used for compilation,
rather than prepend it.

This way there is the guarantee that the included headers are those in
the FFmpeg sources, rather than pre-installed headers referenced by
the user CPPFLAGS.

Originally committed as revision 19416 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse CFLAGS in default DEPEND_CMD
Måns Rullgård [Sun, 12 Jul 2009 14:13:34 +0000 (14:13 +0000)]
Use CFLAGS in default DEPEND_CMD

Originally committed as revision 19415 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse CFLAGS in check_cpp
Måns Rullgård [Sun, 12 Jul 2009 14:13:32 +0000 (14:13 +0000)]
Use CFLAGS in check_cpp

Originally committed as revision 19414 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSet as_default after compiler detection, allowing compiler-specific defaults
Måns Rullgård [Sun, 12 Jul 2009 13:29:55 +0000 (13:29 +0000)]
Set as_default after compiler detection, allowing compiler-specific defaults

Originally committed as revision 19413 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoPass ASFLAGS to assembler instead of CFLAGS
Måns Rullgård [Sun, 12 Jul 2009 13:29:53 +0000 (13:29 +0000)]
Pass ASFLAGS to assembler instead of CFLAGS

Originally committed as revision 19412 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd flags from --extra-cflags after compiler detection
Måns Rullgård [Sun, 12 Jul 2009 13:29:51 +0000 (13:29 +0000)]
Add flags from --extra-cflags after compiler detection

Originally committed as revision 19411 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSet CPU selection flags in $cpuflags, add to cflags outside case block
Måns Rullgård [Sun, 12 Jul 2009 13:29:48 +0000 (13:29 +0000)]
Set CPU selection flags in $cpuflags, add to cflags outside case block

Originally committed as revision 19410 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAllow unusual ways of specifying compiler output file
Måns Rullgård [Sun, 12 Jul 2009 13:29:46 +0000 (13:29 +0000)]
Allow unusual ways of specifying compiler output file

Some compilers do not use the typical -c -o foo.o style.
This allows compiler-specific equivalents to be set by the
configure script.

Originally committed as revision 19409 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse DEPCC to find dependencies, default to same as CC
Måns Rullgård [Sun, 12 Jul 2009 13:29:43 +0000 (13:29 +0000)]
Use DEPCC to find dependencies, default to same as CC

Originally committed as revision 19408 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse LD for linking, default to same as CC
Måns Rullgård [Sun, 12 Jul 2009 13:29:40 +0000 (13:29 +0000)]
Use LD for linking, default to same as CC

Originally committed as revision 19407 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSet CFLAGS directly in config.mak instead of using OPTFLAGS
Måns Rullgård [Sun, 12 Jul 2009 13:29:38 +0000 (13:29 +0000)]
Set CFLAGS directly in config.mak instead of using OPTFLAGS

Originally committed as revision 19406 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd --sysroot flag to CPPFLAGS, not CFLAGS
Måns Rullgård [Sun, 12 Jul 2009 13:29:35 +0000 (13:29 +0000)]
Add --sysroot flag to CPPFLAGS, not CFLAGS

Originally committed as revision 19405 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoSeparate C preprocessor flags into CPPFLAGS variable
Måns Rullgård [Sun, 12 Jul 2009 13:29:32 +0000 (13:29 +0000)]
Separate C preprocessor flags into CPPFLAGS variable

Originally committed as revision 19404 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake VAAPI/VDPAU variant of decoder foo depend on decoder foo.
Diego Biurrun [Sun, 12 Jul 2009 13:22:01 +0000 (13:22 +0000)]
Make VAAPI/VDPAU variant of decoder foo depend on decoder foo.
The VAAPI/VDPAU variants of foo require almost all of the code of foo.
Thus it makes little sense to enable just the accelerated variant.
This allows refactoring some object dependencies in the Makefiles.

Originally committed as revision 19403 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove useless definition of struct AVCLASS.
Stefano Sabatini [Sun, 12 Jul 2009 11:30:42 +0000 (11:30 +0000)]
Remove useless definition of struct AVCLASS.

Originally committed as revision 19402 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoconfigure: allow bulk-disabled things to be re-enabled by dependents
Måns Rullgård [Sun, 12 Jul 2009 00:17:42 +0000 (00:17 +0000)]
configure: allow bulk-disabled things to be re-enabled by dependents

Originally committed as revision 19401 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoCosmetics: reindent after last commit
Alex Converse [Fri, 10 Jul 2009 21:54:06 +0000 (21:54 +0000)]
Cosmetics: reindent after last commit

Originally committed as revision 19400 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoIgnore subsequent channel configurations after the first in an AAC file. The
Alex Converse [Fri, 10 Jul 2009 21:53:04 +0000 (21:53 +0000)]
Ignore subsequent channel configurations after the first in an AAC file. The
current code doesn't handle them properly, and they are a dubious construction
at best.

Originally committed as revision 19399 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMark iir filter init and free functions av_cold.
Alex Converse [Fri, 10 Jul 2009 20:55:15 +0000 (20:55 +0000)]
Mark iir filter init and free functions av_cold.

Originally committed as revision 19398 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix "iirfilter.c:55: warning: unused variable ‘size’"
Alex Converse [Fri, 10 Jul 2009 20:51:22 +0000 (20:51 +0000)]
Fix "iirfilter.c:55: warning: unused variable ‘size’"

Originally committed as revision 19397 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoEliminate use of complex.h from iirfilter.c
Alex Converse [Fri, 10 Jul 2009 20:45:13 +0000 (20:45 +0000)]
Eliminate use of complex.h from iirfilter.c

Originally committed as revision 19396 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd a log2 replacement for systems that haven't quite caught up with the C99
Alex Converse [Fri, 10 Jul 2009 19:20:06 +0000 (19:20 +0000)]
Add a log2 replacement for systems that haven't quite caught up with the C99
standard library.

Originally committed as revision 19395 to svn://svn.ffmpeg.org/ffmpeg/trunk