13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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

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

Originally committed as revision 19439 to svn://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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

Originally committed as revision 19428 to svn://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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

Originally committed as revision 19421 to svn://

13 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://

13 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

Originally committed as revision 19419 to svn://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 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://

13 years agoPrepare SHA code to handle SHA-2 as well. For now rename files and functions
Kostya Shishkov [Fri, 10 Jul 2009 15:50:49 +0000 (15:50 +0000)]
Prepare SHA code to handle SHA-2 as well. For now rename files and functions
and leave av_sha1_* functions for compatibility until next major bump.

Originally committed as revision 19394 to svn://

13 years agocygwin documentation: diffutils is part of the Utils packages.
Ramiro Polla [Fri, 10 Jul 2009 00:16:20 +0000 (00:16 +0000)]
cygwin documentation: diffutils is part of the Utils packages.

Originally committed as revision 19393 to svn://

13 years agoAdd myself as AAC encoder maintainer
Alex Converse [Thu, 9 Jul 2009 17:35:56 +0000 (17:35 +0000)]
Add myself as AAC encoder maintainer

Originally committed as revision 19392 to svn://

13 years agoChange fminf/fmaxf to FFMIN/FFMAX to fix the build on broken operating systems.
Alex Converse [Thu, 9 Jul 2009 17:22:59 +0000 (17:22 +0000)]
Change fminf/fmaxf to FFMIN/FFMAX to fix the build on broken operating systems.

Originally committed as revision 19391 to svn://

13 years agoFix declarations of complex numbers
Måns Rullgård [Thu, 9 Jul 2009 10:16:00 +0000 (10:16 +0000)]
Fix declarations of complex numbers

Complex numbers must be declared using a base type of float, double,
or long double.

Originally committed as revision 19390 to svn://

13 years agoRename function to sha1_transform so it won't be confused with SHA-2 transform
Kostya Shishkov [Thu, 9 Jul 2009 07:29:03 +0000 (07:29 +0000)]
Rename function to sha1_transform so it won't be confused with SHA-2 transform
when it's added.

Originally committed as revision 19389 to svn://

13 years agoUse pointer to hash transform function to make adding SHA-2 support easier.
Kostya Shishkov [Thu, 9 Jul 2009 07:23:43 +0000 (07:23 +0000)]
Use pointer to hash transform function to make adding SHA-2 support easier.

Originally committed as revision 19388 to svn://

13 years agocosmetics: vertical align AVSHA1 members
Kostya Shishkov [Thu, 9 Jul 2009 07:15:30 +0000 (07:15 +0000)]
cosmetics: vertical align AVSHA1 members

Originally committed as revision 19387 to svn://

13 years agoExtend AVSHA1 so it can be used in future SHA-2 code as well
Kostya Shishkov [Thu, 9 Jul 2009 07:14:07 +0000 (07:14 +0000)]
Extend AVSHA1 so it can be used in future SHA-2 code as well

Originally committed as revision 19386 to svn://

13 years agoDocument SHA-1 functions and structures
Kostya Shishkov [Thu, 9 Jul 2009 07:07:01 +0000 (07:07 +0000)]
Document SHA-1 functions and structures

Originally committed as revision 19385 to svn://

13 years agoRemove dependency from swscale_internal.h to lavu/internal.h, it is no longer
Ramiro Polla [Thu, 9 Jul 2009 02:27:39 +0000 (02:27 +0000)]
Remove dependency from swscale_internal.h to lavu/internal.h, it is no longer
Remove dependency from swscale-example.c to swscale_internal.h by duplicating
the necessary code. The duplicated code is a hack and should be removed once a
cleaner pixel format information system exists. swscale-example.c is example
code on how to use the library and therefore shouldn't rely on internal

Originally committed as revision 29415 to svn://

13 years agoMove DECLARE_ALIGNED and DECLARE_ASM_CONST back from lavu/internal.h to
Ramiro Polla [Thu, 9 Jul 2009 02:20:29 +0000 (02:20 +0000)]
Move DECLARE_ALIGNED and DECLARE_ASM_CONST back from lavu/internal.h to

Originally committed as revision 19384 to svn://

13 years agoDo not throw compiler error if asm code needs alignment, but we do not know
Ramiro Polla [Thu, 9 Jul 2009 02:18:29 +0000 (02:18 +0000)]
Do not throw compiler error if asm code needs alignment, but we do not know
how to do it for this compiler. This removes a dependency of config.h on the
DECLARE_* macros.

Originally committed as revision 19383 to svn://

13 years agoReindent after last commit
Alex Converse [Wed, 8 Jul 2009 23:14:47 +0000 (23:14 +0000)]
Reindent after last commit

Originally committed as revision 19382 to svn://

13 years agoPrevent AAC frame size overflows.
Alex Converse [Wed, 8 Jul 2009 23:12:53 +0000 (23:12 +0000)]
Prevent AAC frame size overflows.

Originally committed as revision 19381 to svn://

13 years agoRefactor windowing and early psy from bitstream writing parts of the AAC encoder.
Alex Converse [Wed, 8 Jul 2009 23:10:13 +0000 (23:10 +0000)]
Refactor windowing and early psy from bitstream writing parts of the AAC encoder.

Originally committed as revision 19380 to svn://

13 years agoTurn on AAC rate control.
Alex Converse [Wed, 8 Jul 2009 23:04:22 +0000 (23:04 +0000)]
Turn on AAC rate control.

Originally committed as revision 19379 to svn://

13 years agocosmetics: Remove unnecessary {} around if/for blocks;
Diego Biurrun [Wed, 8 Jul 2009 21:36:33 +0000 (21:36 +0000)]
cosmetics: Remove unnecessary {} around if/for blocks;
move statements after if/for to the next line.

Originally committed as revision 19378 to svn://

13 years agocosmetics: prettyprinting, K&R style, break overly long lines
Diego Biurrun [Wed, 8 Jul 2009 21:16:06 +0000 (21:16 +0000)]
cosmetics: prettyprinting, K&R style, break overly long lines

Originally committed as revision 19377 to svn://

13 years agoCosmetics: Pretty print the AAC encoder.
Alex Converse [Wed, 8 Jul 2009 20:36:45 +0000 (20:36 +0000)]
Cosmetics: Pretty print the AAC encoder.

Originally committed as revision 19376 to svn://

13 years agoMerge the AAC encoder from SoC svn. It is still considered experimental.
Alex Converse [Wed, 8 Jul 2009 20:01:31 +0000 (20:01 +0000)]
Merge the AAC encoder from SoC svn. It is still considered experimental.

Originally committed as revision 19375 to svn://

13 years agoAdd extra validation checks to ff_vorbis_len2vlc.
Reimar Döffinger [Wed, 8 Jul 2009 19:39:23 +0000 (19:39 +0000)]
Add extra validation checks to ff_vorbis_len2vlc.
They should not be necessary, but it seems like a reasonable precaution.

Originally committed as revision 19374 to svn://

13 years agoMake sure that values generated for ff_vorbis_len2vlc in
Reimar Döffinger [Wed, 8 Jul 2009 19:31:04 +0000 (19:31 +0000)]
Make sure that values generated for ff_vorbis_len2vlc in
vorbis_parse_setup_hdr_codebooks are in the valid range (<=32).

Originally committed as revision 19373 to svn://

13 years agoAdd PIX_FMT_ARGB encoding to qtrle.
Alexis Ballier [Wed, 8 Jul 2009 14:58:16 +0000 (14:58 +0000)]
Add PIX_FMT_ARGB encoding to qtrle.

Patch by Alexis Ballier, alexis ballier gmail

Originally committed as revision 19372 to svn://

13 years agoAdd block_align to sox input.
Phil Rutschman [Wed, 8 Jul 2009 08:52:56 +0000 (08:52 +0000)]
Add block_align to sox input.
Patch by Phil Rutschman: name.surname modsystems com

Originally committed as revision 19371 to svn://

13 years agoFix mem leak when user preallocates an AVFormatContext, passes it to
Art Clarke [Wed, 8 Jul 2009 08:26:57 +0000 (08:26 +0000)]
Fix mem leak when user preallocates an AVFormatContext, passes it to
av_open_input_file(), but the file does not exist.
Patch by Art Clarke a$(surname) xuggle com

Originally committed as revision 19370 to svn://

13 years agoBaptiste will maintain qt-faststart from now on.
Diego Biurrun [Tue, 7 Jul 2009 22:00:13 +0000 (22:00 +0000)]
Baptiste will maintain qt-faststart from now on.

Originally committed as revision 19369 to svn://

13 years agoMention removal of libamr support in the changelog.
Diego Biurrun [Tue, 7 Jul 2009 21:39:49 +0000 (21:39 +0000)]
Mention removal of libamr support in the changelog.

Originally committed as revision 19368 to svn://

13 years agowhitespace cosmetics: Realign colums after last commit.
Diego Biurrun [Tue, 7 Jul 2009 09:33:53 +0000 (09:33 +0000)]
whitespace cosmetics: Realign colums after last commit.

Originally committed as revision 19367 to svn://

13 years agoCheck for CONFIG_LIBFOO_DECODER/CONFIG_LIBFOO_ENCODER instead of just
Diego Biurrun [Tue, 7 Jul 2009 09:33:08 +0000 (09:33 +0000)]
CONFIG_LIBFOO in the external libraries section.
This is more consistent with the rest of the Makefiles, it makes clearer what
is actually implemented and should be advantageous if we implement an external
library encoder where we previously just had the decoder and vice versa.

Originally committed as revision 19366 to svn://

13 years agoRemove support for nonfree libamr library for AMR-NB/WB decoding/encoding.
Diego Biurrun [Tue, 7 Jul 2009 00:28:16 +0000 (00:28 +0000)]
Remove support for nonfree libamr library for AMR-NB/WB decoding/encoding.
libopencore can now be used as a replacement except for AMR-WB encoding.

Originally committed as revision 19365 to svn://

13 years agoflvdec: expose metadata through the generic metadata API
Aurelien Jacobs [Mon, 6 Jul 2009 21:54:37 +0000 (21:54 +0000)]
flvdec: expose metadata through the generic metadata API
original patch from Art Clarke  aclarke _at_ xuggle _dot_ com

Originally committed as revision 19364 to svn://

13 years agoflvdec: re-enable metadata parsing
Aurelien Jacobs [Mon, 6 Jul 2009 21:49:33 +0000 (21:49 +0000)]
flvdec: re-enable metadata parsing
duration and videodatarate values are actually useful
original patch from Art Clarke  aclarke _at_ xuggle _dot_ com

Originally committed as revision 19363 to svn://

13 years agoflvdec: don't set format and codec context from metadata values
Aurelien Jacobs [Mon, 6 Jul 2009 21:46:37 +0000 (21:46 +0000)]
flvdec: don't set format and codec context from metadata values
This has proven to be useless and even harmfull since r18460 (expect
for duration and videodatarate).
original patch from Art Clarke  aclarke _at_ xuggle _dot_ com

Originally committed as revision 19362 to svn://

13 years agoCheck for packet_length 0, it is already treated as invalid by the padding check,
Reimar Döffinger [Mon, 6 Jul 2009 17:08:32 +0000 (17:08 +0000)]
Check for packet_length 0, it is already treated as invalid by the padding check,
but that resulted in a confusing/wrong error message.

Originally committed as revision 19361 to svn://

13 years agoChange av_free to av_freep
Reimar Döffinger [Mon, 6 Jul 2009 16:49:36 +0000 (16:49 +0000)]
Change av_free to av_freep

Originally committed as revision 19360 to svn://

13 years agoReallocate internal buffer when coded frame size changes.
Reimar Döffinger [Mon, 6 Jul 2009 16:48:23 +0000 (16:48 +0000)]
Reallocate internal buffer when coded frame size changes.
Fixes out-of-bounds reads and writes with i32/smclocki32.avi.1.0 from issue 1240.

Originally committed as revision 19359 to svn://

13 years agoChange iv_decode_frame to get AVCodecContext as argument, so that
Reimar Döffinger [Mon, 6 Jul 2009 16:45:12 +0000 (16:45 +0000)]
Change iv_decode_frame to get AVCodecContext as argument, so that
avcodec_check_dimensions can be called with a proper context instead of NULL.

Originally committed as revision 19358 to svn://

13 years agoRemove useless ret variable added in last revision again.
Reimar Döffinger [Mon, 6 Jul 2009 10:28:58 +0000 (10:28 +0000)]
Remove useless ret variable added in last revision again.

Originally committed as revision 19357 to svn://

13 years ago100l, theora_decode_init must pass on errors from vp3_decode_init
Reimar Döffinger [Mon, 6 Jul 2009 09:35:00 +0000 (09:35 +0000)]
100l, theora_decode_init must pass on errors from vp3_decode_init

Originally committed as revision 19356 to svn://