]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
14 years agoImplement RTSP-MS/ASF packet parsing - this completes RTSP-MS support. See
rbultje [Mon, 27 Jul 2009 14:00:10 +0000 (14:00 +0000)]
Implement RTSP-MS/ASF packet parsing - this completes RTSP-MS support. See
discussion in "[PATCH] RTSP-MS 14/15: ASF packet parsing" thread on mailinglist.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19516 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoChange type of received_sigterm variable from sig_atomic_t to int,
diego [Mon, 27 Jul 2009 13:01:44 +0000 (13:01 +0000)]
Change type of received_sigterm variable from sig_atomic_t to int,
which is more portable (works on Windows CE).
patch by Martin Storsjö, martin martin st

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19515 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoConditionally compile ELF-specific ARM assembly bits that fail on Windows CE.
diego [Mon, 27 Jul 2009 12:53:44 +0000 (12:53 +0000)]
Conditionally compile ELF-specific ARM assembly bits that fail on Windows CE.
patch by Martin Storsjö, martin martin st

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19514 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoOnly consider -1 as an error return value for open().
benoit [Mon, 27 Jul 2009 12:36:22 +0000 (12:36 +0000)]
Only consider -1 as an error return value for open().
This is:
 - what Posix says (-1 on error, >=0 on success)
 - fixing a bug on winCE (<0 sometimes)

Patch by Martin Storsjö: martin martin st

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19513 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSet subtitle type in DVD and XSUB subtitle decoders.
stefano [Sun, 26 Jul 2009 23:08:04 +0000 (23:08 +0000)]
Set subtitle type in DVD and XSUB subtitle decoders.

Patch by Janne Grunau <ja?ne-f?mpeg jannau net>.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19512 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove unnecessary mpeg12data.o entries from OBJS- variables.
diego [Sun, 26 Jul 2009 21:22:57 +0000 (21:22 +0000)]
Remove unnecessary mpeg12data.o entries from OBJS- variables.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19511 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove duplicated mpeg12data.o entries.
diego [Sun, 26 Jul 2009 21:04:12 +0000 (21:04 +0000)]
Remove duplicated mpeg12data.o entries.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19510 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd handling of EAGAIN at packet boundaries. See "[PATCH] RTSP-MS 14/15:
rbultje [Sun, 26 Jul 2009 19:09:35 +0000 (19:09 +0000)]
Add handling of EAGAIN at packet boundaries. See "[PATCH] RTSP-MS 14/15:
ASF packet parsing" thread for discussion / reasoning.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19509 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoReplace WORDS_BIGENDIAN with HAVE_BIGENDIAN
mru [Sun, 26 Jul 2009 12:20:04 +0000 (12:20 +0000)]
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19508 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agofix various compilation dependencies
aurel [Fri, 24 Jul 2009 21:28:44 +0000 (21:28 +0000)]
fix various compilation dependencies

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19507 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agofix compilation of cavsvideo demuxer
aurel [Fri, 24 Jul 2009 21:28:03 +0000 (21:28 +0000)]
fix compilation of cavsvideo demuxer

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19506 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCheck for HAVE_ISATTY.
ramiro [Fri, 24 Jul 2009 00:13:59 +0000 (00:13 +0000)]
Check for HAVE_ISATTY.
Patch by Martin Storsjo <martin at martin dot st>

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19505 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCheck for the isatty function.
ramiro [Fri, 24 Jul 2009 00:12:55 +0000 (00:12 +0000)]
Check for the isatty function.
Patch by Martin Storsjo <martin at martin dot st>

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19504 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: some small simplifications
mru [Thu, 23 Jul 2009 23:30:54 +0000 (23:30 +0000)]
configure: some small simplifications

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19503 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: add some blank lines to improve readability
mru [Thu, 23 Jul 2009 23:30:50 +0000 (23:30 +0000)]
configure: add some blank lines to improve readability

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19502 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agorefactoring: properly separate AC-3 and E-AC-3 code
diego [Thu, 23 Jul 2009 02:33:25 +0000 (02:33 +0000)]
refactoring: properly separate AC-3 and E-AC-3 code

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19501 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake sure that eac3_decoder only gets enabled when CONFIG_EAC3_DECODER is set.
diego [Thu, 23 Jul 2009 00:15:23 +0000 (00:15 +0000)]
Make sure that eac3_decoder only gets enabled when CONFIG_EAC3_DECODER is set.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19500 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove useless #include <unistd.h> from many files
mru [Wed, 22 Jul 2009 23:37:53 +0000 (23:37 +0000)]
Remove useless #include <unistd.h> from many files

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19499 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agocosmetics: Reorder some tables/lines to make future diffs smaller.
diego [Wed, 22 Jul 2009 23:33:58 +0000 (23:33 +0000)]
cosmetics: Reorder some tables/lines to make future diffs smaller.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19498 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years ago#include just the required stdint.h instead of libavutil/common.h.
diego [Wed, 22 Jul 2009 22:57:17 +0000 (22:57 +0000)]
#include just the required stdint.h instead of libavutil/common.h.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19497 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agocosmetics: small typo fixes
diego [Wed, 22 Jul 2009 22:43:43 +0000 (22:43 +0000)]
cosmetics: small typo fixes

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19496 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agocosmetics: reindent/prettyprint after last commit
diego [Wed, 22 Jul 2009 22:38:26 +0000 (22:38 +0000)]
cosmetics: reindent/prettyprint after last commit

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19495 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoOnly compile in NEON optimizations for H.264 when the H.264 decoder is enabled.
diego [Wed, 22 Jul 2009 22:33:33 +0000 (22:33 +0000)]
Only compile in NEON optimizations for H.264 when the H.264 decoder is enabled.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19494 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMove output redirection of deps generation from make rule to DEPEND_CMD
mru [Wed, 22 Jul 2009 22:30:20 +0000 (22:30 +0000)]
Move output redirection of deps generation from make rule to DEPEND_CMD

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19493 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDo not redundantly check for both CONFIG_THEORA_DECODER and CONFIG_VP3_DECODER.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19492 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake Theora decoder depend on the VP3 decoder.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19491 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: group tests for compiler characteristics together
mru [Wed, 22 Jul 2009 20:41:41 +0000 (20:41 +0000)]
configure: group tests for compiler characteristics together

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19490 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: set -mdynamic-no-pic flag in main darwin section
mru [Wed, 22 Jul 2009 20:41:39 +0000 (20:41 +0000)]
configure: set -mdynamic-no-pic flag in main darwin section

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19489 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: remove special flags for XLC on Darwin
mru [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19488 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: remove some darwin-related cruft
mru [Wed, 22 Jul 2009 20:41:31 +0000 (20:41 +0000)]
configure: remove some darwin-related cruft

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19487 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix building of tools/*
mru [Wed, 22 Jul 2009 16:14:59 +0000 (16:14 +0000)]
Fix building of tools/*

Fixes issue 1282

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19486 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: group all cpu-specific tests together
mru [Wed, 22 Jul 2009 16:05:24 +0000 (16:05 +0000)]
configure: group all cpu-specific tests together

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19485 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19484 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove unused global variable.
cehoyos [Wed, 22 Jul 2009 08:28:58 +0000 (08:28 +0000)]
Remove unused global variable.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19483 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19482 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19481 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoBe sure to increment our position in the coefficient array when skipping a zero
alexc [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19480 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agox11grab: remove unnecessary #includes and senseless #define
mru [Tue, 21 Jul 2009 14:32:05 +0000 (14:32 +0000)]
x11grab: remove unnecessary #includes and senseless #define

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19479 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDue to a typo in videogen.c, the regression test videos were not as
cehoyos [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19478 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake E-AC-3 decoder depend on the AC-3 decoder.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19477 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19476 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoARM: handle VFP register arguments in ff_vector_fmul_window_neon()
mru [Mon, 20 Jul 2009 22:30:27 +0000 (22:30 +0000)]
ARM: handle VFP register arguments in ff_vector_fmul_window_neon()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19475 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoARM: check for VFP register arguments
mru [Mon, 20 Jul 2009 22:30:24 +0000 (22:30 +0000)]
ARM: check for VFP register arguments

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19474 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19473 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoActually use all the codebooks we are iterating over in the two-loop scalefactor...
alexc [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19472 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: make --extra-cflags cumulative again
mru [Mon, 20 Jul 2009 19:00:59 +0000 (19:00 +0000)]
configure: make --extra-cflags cumulative again

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19471 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19470 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19469 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake VP6A/VP6F decoders depend on the VP6 decoder.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19468 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove two more lines related to the WMV3 decoder.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19467 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake WMV3 decoders depend on their VC-1 counterparts.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19466 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSupport building with TI TMS470 compiler
mru [Sun, 19 Jul 2009 10:52:35 +0000 (10:52 +0000)]
Support building with TI TMS470 compiler

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19465 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19464 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoIf any input/output devices are enabled then indevs/outdevs should
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19463 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19462 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoReplace two occurrences of 'vfwcap_demuxer' with 'vfwcap_indev', I
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19461 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19460 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoReplace pow(x, 0.75) with sqrtf(x * sqrtf(x)) for a 33% speedup.
alexc [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19459 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake sure that tests/seek_test.o gets deleted on 'make clean'.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19458 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19457 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: improve detection of out-of-tree builds
mru [Fri, 17 Jul 2009 13:10:26 +0000 (13:10 +0000)]
configure: improve detection of out-of-tree builds

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19456 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: remove some useless comments
mru [Fri, 17 Jul 2009 13:10:23 +0000 (13:10 +0000)]
configure: remove some useless comments

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19455 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoIcc 11.1 still does not align the stack pointer, disable some x264 functions.
cehoyos [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19454 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCheck for __attribute__((packed)) support
mru [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19453 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: handle --cpu before running compiler
mru [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19452 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: simplify --cpu handling slightly
mru [Fri, 17 Jul 2009 08:21:37 +0000 (08:21 +0000)]
configure: simplify --cpu handling slightly

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19451 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19450 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19449 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19448 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRename invalid option name "gop" to "g" in opt_target(), so that
stefano [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>.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19447 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse CPPFLAGS when building tests
mru [Thu, 16 Jul 2009 22:29:17 +0000 (22:29 +0000)]
Use CPPFLAGS when building tests

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19446 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoconfigure: do not warn about mismatching altivec/cpu selection
mru [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19445 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoWhen calculating AAC quantized band cost, don't leave garbage in the bit count
alexc [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19444 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19443 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19442 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19441 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix check_func_headers. The reference to the function under test was being
ramiro [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, thus rendering the test useless.
This new test throws a warning in mingw-w64, but that should not be a problem.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19440 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDisable gcc auto-vectorisation
mru [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19439 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRequire aligned memory for everything that needs it
mru [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19438 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSkip the check for SSE aligned memory allocators when SSE is disabled.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19437 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoOnly free '*ic_ptr' when a caller has pre-allocated a context and passed it in
benoit [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19436 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoprint atom info during parsing, patch by Frank Barchard, fbarchard at google dot com
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19435 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse normal check_func test for math functions
mru [Wed, 15 Jul 2009 08:22:06 +0000 (08:22 +0000)]
Use normal check_func test for math functions

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19434 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse ff_neterrno instead of errno in tcp.c.
diego [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19433 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSet subtitle type in DVB subtitle decoder.
stefano [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>.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19432 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoImprove linker check for Winsock library name.
diego [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19431 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove unnecessary rtsp.h #include.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19430 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19429 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSet default flag filters before compiler detection
mru [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19428 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19427 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19426 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoOnly #define lseek to _lseeki64 on MinGW, not MinGW CE.
diego [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19425 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19424 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19423 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse add_*flags only after compiler-specific configuration
mru [Sun, 12 Jul 2009 23:03:08 +0000 (23:03 +0000)]
Use add_*flags only after compiler-specific configuration

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19422 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAllow filtering of flags passed to compiler and assembler
mru [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19421 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake (de)muxers for format variants select the main format (de)muxer.
diego [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19420 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoPlace flags for dependency generation in DEPFLAGS
mru [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19419 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSet CPPFLAGS in config.mak using normal assignment
mru [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19418 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoProtect config.mak against multiple inclusion
mru [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19417 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b