]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
15 years agoAdd a Changelog entry for the ALSA stuff.
benoit [Mon, 26 Jan 2009 13:55:54 +0000 (13:55 +0000)]
Add a Changelog entry for the ALSA stuff.

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

15 years agoFix AAC data smuggling:
kostya [Mon, 26 Jan 2009 13:44:09 +0000 (13:44 +0000)]
Fix AAC data smuggling:
aactab.h declares only 316 of 428 elements in ff_aac_pow2sf_tab[]

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

15 years agoRemove misleading comment about how to build SHA1 test program.
diego [Mon, 26 Jan 2009 11:15:47 +0000 (11:15 +0000)]
Remove misleading comment about how to build SHA1 test program.
Generating the test program is integrated into the build system already.

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

15 years agoRemove unneeded check.
benoit [Mon, 26 Jan 2009 09:42:48 +0000 (09:42 +0000)]
Remove unneeded check.

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

15 years agoFix an exploit in indeo by checking we are not writing out of the strip array.
benoit [Mon, 26 Jan 2009 09:41:23 +0000 (09:41 +0000)]
Fix an exploit in indeo by checking we are not writing out of the strip array.
Fixes issue 655

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

15 years agoFix version.h dependency on version.sh
mru [Mon, 26 Jan 2009 09:24:52 +0000 (09:24 +0000)]
Fix version.h dependency on version.sh

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

15 years agoAdd ALSA support in libavdevice.
benoit [Mon, 26 Jan 2009 09:16:09 +0000 (09:16 +0000)]
Add ALSA support in libavdevice.
Patch by Nicolas George: name surname normalesup org
Original thread: [FFmpeg-devel] [PATCH] ALSA for libavdevice
Date: 12/09/2008 07:17 PM

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

15 years agoversion.h depends on version.sh.
diego [Mon, 26 Jan 2009 09:10:04 +0000 (09:10 +0000)]
version.h depends on version.sh.

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

15 years agoHAVE_3DNOW --> HAVE_AMD3DNOW
diego [Mon, 26 Jan 2009 08:36:06 +0000 (08:36 +0000)]
HAVE_3DNOW --> HAVE_AMD3DNOW

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

15 years agoWorkaround for gcc 3.4 to align sh properly
conrad [Mon, 26 Jan 2009 03:40:48 +0000 (03:40 +0000)]
Workaround for gcc 3.4 to align sh properly

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

15 years agoReorganize header #includes: Unconditionally #include standard C headers,
diego [Sun, 25 Jan 2009 23:21:02 +0000 (23:21 +0000)]
Reorganize header #includes: Unconditionally #include standard C headers,
group all local #includes together.

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

15 years agoMake opt_preset() use FFMPEG_DATADIR from config.h rather than /usr and
superdump [Sun, 25 Jan 2009 23:10:56 +0000 (23:10 +0000)]
Make opt_preset() use FFMPEG_DATADIR from config.h rather than /usr and
/usr/local

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

15 years ago10l: Add #undefs for system free/malloc/realloc, which must be used here.
diego [Sun, 25 Jan 2009 22:59:05 +0000 (22:59 +0000)]
10l: Add #undefs for system free/malloc/realloc, which must be used here.

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

15 years agoAdd (un)installation targets for ffpresets using the new DATADIR variable
superdump [Sun, 25 Jan 2009 22:44:57 +0000 (22:44 +0000)]
Add (un)installation targets for ffpresets using the new DATADIR variable

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

15 years agoC files should #include the header files of the same name.
diego [Sun, 25 Jan 2009 22:40:43 +0000 (22:40 +0000)]
C files should #include the header files of the same name.

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

15 years agoconfigure: add datadir variable and write to config.{h,mak}
mru [Sun, 25 Jan 2009 22:23:03 +0000 (22:23 +0000)]
configure: add datadir variable and write to config.{h,mak}

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

15 years agoDisambiguate the macros used to disable fprintf/printf/puts functions.
diego [Sun, 25 Jan 2009 22:05:26 +0000 (22:05 +0000)]
Disambiguate the macros used to disable fprintf/printf/puts functions.

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

15 years agoAdd required limits.h header.
diego [Sun, 25 Jan 2009 21:54:05 +0000 (21:54 +0000)]
Add required limits.h header.

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

15 years agoThe default subq value in the x264 CLI is now 6, not 5.
superdump [Sun, 25 Jan 2009 21:28:56 +0000 (21:28 +0000)]
The default subq value in the x264 CLI is now 6, not 5.

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

15 years agoHAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.
diego [Sun, 25 Jan 2009 19:57:52 +0000 (19:57 +0000)]
HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.

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

15 years agoRestore _MSC_VER case in DECLARE_ALIGNED/DECLARE_ASM_CONST macro declaration.
diego [Sun, 25 Jan 2009 19:51:07 +0000 (19:51 +0000)]
Restore _MSC_VER case in DECLARE_ALIGNED/DECLARE_ASM_CONST macro declaration.
This compiler might be supported in the future or we might some day decide
to export these macros.

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

15 years agoAdd AMD 3DNow! instruction enabling/disabling support in the build system.
diego [Sun, 25 Jan 2009 19:48:26 +0000 (19:48 +0000)]
Add AMD 3DNow! instruction enabling/disabling support in the build system.

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

15 years agoDrop redundant architecture extension dependencies.
diego [Sun, 25 Jan 2009 19:43:48 +0000 (19:43 +0000)]
Drop redundant architecture extension dependencies.

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

15 years agoDrop _MSC_VER case from macro declaration.
diego [Sun, 25 Jan 2009 19:24:47 +0000 (19:24 +0000)]
Drop _MSC_VER case from macro declaration.
This compiler will never see our internal headers.

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

15 years agoDrop deprecated av_fifo_write function with the next libavutil version bump.
diego [Sun, 25 Jan 2009 19:22:47 +0000 (19:22 +0000)]
Drop deprecated av_fifo_write function with the next libavutil version bump.

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

15 years agoMove DECLARE_ALIGNED and DECLARE_ASM_CONST to internal.h.
diego [Sun, 25 Jan 2009 19:18:56 +0000 (19:18 +0000)]
Move DECLARE_ALIGNED and DECLARE_ASM_CONST to internal.h.
Their definition depends on preprocessor directives from config.h,
thus they cannot be declared in a public header since public headers
cannot #include config.h.

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

15 years agoDirectly #include some required headers.
diego [Sun, 25 Jan 2009 19:11:10 +0000 (19:11 +0000)]
Directly #include some required headers.

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

15 years agoAdd missing architecture-specific options to summary output.
diego [Sun, 25 Jan 2009 18:15:41 +0000 (18:15 +0000)]
Add missing architecture-specific options to summary output.

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

15 years agoUse AV_WL32/AV_WB32 in bitstream.h
reimar [Sun, 25 Jan 2009 18:12:13 +0000 (18:12 +0000)]
Use AV_WL32/AV_WB32 in bitstream.h

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

15 years agoSSE depends on x86.
diego [Sun, 25 Jan 2009 17:52:52 +0000 (17:52 +0000)]
SSE depends on x86.

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

15 years agoDo not #include common.h without necessity.
diego [Sun, 25 Jan 2009 17:36:48 +0000 (17:36 +0000)]
Do not #include common.h without necessity.
This eliminates the need to work around common.h overriding certain system
functions which are required in this header.

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

15 years agoMake more descriptive the long names for the various variants of H.263.
stefano [Sun, 25 Jan 2009 16:59:48 +0000 (16:59 +0000)]
Make more descriptive the long names for the various variants of H.263.

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

15 years agoMove documentation of av_register_all() from allformats.c to
stefano [Sun, 25 Jan 2009 16:44:45 +0000 (16:44 +0000)]
Move documentation of av_register_all() from allformats.c to
avformat.h, and extend it.

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

15 years agoRemove redundant av_log2_16bit forward declaration, fixes checkheaders warning:
diego [Sun, 25 Jan 2009 14:01:23 +0000 (14:01 +0000)]
Remove redundant av_log2_16bit forward declaration, fixes checkheaders warning:
libavutil/internal.h:167: warning: redundant redeclaration of `av_log2_16bit'
libavutil/common.h:143: warning: previous definition of `av_log2_16bit' was here

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

15 years agoMove internal.h #include to the end of the file so that it is after
diego [Sun, 25 Jan 2009 14:00:21 +0000 (14:00 +0000)]
Move internal.h #include to the end of the file so that it is after
the declaration of av_log2_16bit, which it uses.

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

15 years agoARM: NEON optimised H.264 weighted prediction
mru [Sun, 25 Jan 2009 13:04:45 +0000 (13:04 +0000)]
ARM: NEON optimised H.264 weighted prediction

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

15 years agoARM: NEON optimised H.264 biweighted prediction
mru [Sun, 25 Jan 2009 13:04:41 +0000 (13:04 +0000)]
ARM: NEON optimised H.264 biweighted prediction

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

15 years agoAdd required headers to fix warnings during 'make checkheaders'.
diego [Sun, 25 Jan 2009 11:16:25 +0000 (11:16 +0000)]
Add required headers to fix warnings during 'make checkheaders'.

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

15 years agoflacdec: get total number of samples from STREAMINFO
jbr [Sun, 25 Jan 2009 02:27:02 +0000 (02:27 +0000)]
flacdec: get total number of samples from STREAMINFO

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

15 years agouse function and definitions from libavcodec/flac.h in oggparseflac.c
jbr [Sun, 25 Jan 2009 01:21:10 +0000 (01:21 +0000)]
use function and definitions from libavcodec/flac.h in oggparseflac.c

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

15 years agomove FLAC_STREAMINFO_SIZE to flac.h
jbr [Sun, 25 Jan 2009 00:34:32 +0000 (00:34 +0000)]
move FLAC_STREAMINFO_SIZE to flac.h

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

15 years agodefine FLAC metadata types in flac.h
jbr [Sun, 25 Jan 2009 00:33:25 +0000 (00:33 +0000)]
define FLAC metadata types in flac.h

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

15 years agoHandle ID3v2 tags in raw FLAC streams by skipping them.
jbr [Sun, 25 Jan 2009 00:16:27 +0000 (00:16 +0000)]
Handle ID3v2 tags in raw FLAC streams by skipping them.
Patch by David DeHaven (dave sagetv com)

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

15 years agoflacdec: cosmetics: some line wrapping at 80 chars
jbr [Sat, 24 Jan 2009 19:05:52 +0000 (19:05 +0000)]
flacdec: cosmetics: some line wrapping at 80 chars

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

15 years agoflacdec: cosmetics: indentation
jbr [Sat, 24 Jan 2009 18:52:30 +0000 (18:52 +0000)]
flacdec: cosmetics: indentation

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

15 years agoflacdec: cosmetics: use consistent coding style (K&R)
jbr [Sat, 24 Jan 2009 18:51:43 +0000 (18:51 +0000)]
flacdec: cosmetics: use consistent coding style (K&R)

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

15 years agoAdd configuration options section to help output.
diego [Sat, 24 Jan 2009 18:18:24 +0000 (18:18 +0000)]
Add configuration options section to help output.

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

15 years agohelp output cosmetics
diego [Sat, 24 Jan 2009 18:14:46 +0000 (18:14 +0000)]
help output cosmetics

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

15 years agoRemove --enable-static and --disable-shared from help output.
diego [Sat, 24 Jan 2009 17:56:39 +0000 (17:56 +0000)]
Remove --enable-static and --disable-shared from help output.
Only one of --enable or --disable should be in the help output.

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

15 years agoUse cc_default variable in help output for --cc option.
diego [Sat, 24 Jan 2009 17:49:01 +0000 (17:49 +0000)]
Use cc_default variable in help output for --cc option.
The cc variable is not yet initialized when the help output is printed.

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

15 years agoAdd a check for ppc4xx instructions; rename preprocessor directive accordingly.
diego [Sat, 24 Jan 2009 17:44:46 +0000 (17:44 +0000)]
Add a check for ppc4xx instructions; rename preprocessor directive accordingly.

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

15 years agoRemove pointless #if HAVE_ALTIVEC around internal header #include
diego [Sat, 24 Jan 2009 17:32:06 +0000 (17:32 +0000)]
Remove pointless #if HAVE_ALTIVEC around internal header #include
and function declarations.

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

15 years agoconfigure: add help for fastdiv
mru [Sat, 24 Jan 2009 17:08:49 +0000 (17:08 +0000)]
configure: add help for fastdiv

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

15 years agocosmetics: indentation
jbr [Sat, 24 Jan 2009 16:13:21 +0000 (16:13 +0000)]
cosmetics: indentation

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

15 years agoflacdec: change several AV_LOG_DEBUG to AV_LOG_ERROR
jbr [Sat, 24 Jan 2009 16:03:17 +0000 (16:03 +0000)]
flacdec: change several AV_LOG_DEBUG to AV_LOG_ERROR

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

15 years agoflacdec: remove another unneeded debugging statement
jbr [Sat, 24 Jan 2009 16:02:30 +0000 (16:02 +0000)]
flacdec: remove another unneeded debugging statement

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

15 years agoflacdec: remove unneeded debugging statements
jbr [Sat, 24 Jan 2009 16:01:20 +0000 (16:01 +0000)]
flacdec: remove unneeded debugging statements

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

15 years agoflacdec: remove some unused code
jbr [Sat, 24 Jan 2009 15:46:19 +0000 (15:46 +0000)]
flacdec: remove some unused code

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

15 years agoDirectly #include a bunch of indirectly #included headers.
diego [Sat, 24 Jan 2009 14:55:30 +0000 (14:55 +0000)]
Directly #include a bunch of indirectly #included headers.

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

15 years agoFix undefined preprocessor directives warnings during 'make checkheaders'.
diego [Sat, 24 Jan 2009 14:52:46 +0000 (14:52 +0000)]
Fix undefined preprocessor directives warnings during 'make checkheaders'.

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

15 years agoAdd required headers to fix 'make checkheaders'.
diego [Sat, 24 Jan 2009 14:46:00 +0000 (14:46 +0000)]
Add required headers to fix 'make checkheaders'.

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

15 years agoremove alloc_table_0 and alloc_table_2, the same
stefang [Sat, 24 Jan 2009 14:32:22 +0000 (14:32 +0000)]
remove alloc_table_0 and alloc_table_2, the same
data exists in alloc_table_1 and alloc_table_3

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

15 years agoremove zigzag_scan8x8, it is the same as ff_zigzag_direct
stefang [Sat, 24 Jan 2009 14:30:15 +0000 (14:30 +0000)]
remove zigzag_scan8x8, it is the same as ff_zigzag_direct

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

15 years agoavoid duplication of size_table and offset_table
stefang [Sat, 24 Jan 2009 14:28:08 +0000 (14:28 +0000)]
avoid duplication of size_table and offset_table

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

15 years agoavoid duplication of dquant_code
stefang [Sat, 24 Jan 2009 14:26:40 +0000 (14:26 +0000)]
avoid duplication of dquant_code

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

15 years agoI'll take care of qdm2 also
banan [Sat, 24 Jan 2009 10:52:26 +0000 (10:52 +0000)]
I'll take care of qdm2 also

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

15 years agoreturn an error if we can not get a full packet,
stefang [Sat, 24 Jan 2009 08:20:42 +0000 (08:20 +0000)]
return an error if we can not get a full packet,
fixes hang on EOF

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

15 years agoDo not allocate RoqTempData on the stack
vitor [Sat, 24 Jan 2009 08:15:43 +0000 (08:15 +0000)]
Do not allocate RoqTempData on the stack

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

15 years agofix header parsing, the NULL terminated File ID is followed by a space
stefang [Sat, 24 Jan 2009 08:06:43 +0000 (08:06 +0000)]
fix header parsing, the NULL terminated File ID is followed by a space

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

15 years agoSkip m= blocks in the SDP if the media type is unknown. This prevents
rbultje [Sat, 24 Jan 2009 04:56:18 +0000 (04:56 +0000)]
Skip m= blocks in the SDP if the media type is unknown. This prevents
subsequent a= lines from the m= block to be applied to the previous
m= line, thus breaking otherwise functional RTP streams. See discussion in
[PATCH] RTSP-MS 7/15: parse and allow unknown m= line codes" thread on
mailinglist.

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

15 years agoadd myself as a maintainer of flacdec.c
jbr [Fri, 23 Jan 2009 22:38:35 +0000 (22:38 +0000)]
add myself as a maintainer of flacdec.c

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

15 years agorename flac.c to flacdec.c
jbr [Fri, 23 Jan 2009 22:27:19 +0000 (22:27 +0000)]
rename flac.c to flacdec.c

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

15 years agoset pts and dts when only pts is present, according to specs
bcoudurier [Fri, 23 Jan 2009 22:16:31 +0000 (22:16 +0000)]
set pts and dts when only pts is present, according to specs

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

15 years agowrite essence container data
bcoudurier [Fri, 23 Jan 2009 20:57:12 +0000 (20:57 +0000)]
write essence container data

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

15 years agoreduce display aspect ratio
bcoudurier [Fri, 23 Jan 2009 20:20:36 +0000 (20:20 +0000)]
reduce display aspect ratio

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

15 years agostored height is a multiple of 16 for mpeg2
bcoudurier [Fri, 23 Jan 2009 20:15:46 +0000 (20:15 +0000)]
stored height is a multiple of 16 for mpeg2

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

15 years agofix endianness of time code, and calculate it in fields, according to specs
bcoudurier [Fri, 23 Jan 2009 20:03:57 +0000 (20:03 +0000)]
fix endianness of time code, and calculate it in fields, according to specs

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

15 years agoadd EM4A fourcc , works for:
compn [Fri, 23 Jan 2009 12:17:40 +0000 (12:17 +0000)]
add EM4A fourcc , works for:
http://av.watch.impress.co.jp/docs/20040929/xf.asf

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

15 years agoAvoid allocating MPADecodeContext on stack.
andoma [Fri, 23 Jan 2009 12:09:32 +0000 (12:09 +0000)]
Avoid allocating MPADecodeContext on stack.

Instead move relevant fields into MPADecodeHeader and use it
where appropriate.

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

15 years agoWorkaround ffms behavior of returning EAGAIN at EOF.
michael [Fri, 23 Jan 2009 09:47:22 +0000 (09:47 +0000)]
Workaround ffms behavior of returning EAGAIN at EOF.
Should fix regression tests & fate.

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

15 years agoRemove the block with always false condition from vc1_parse_frame_header()
kostya [Fri, 23 Jan 2009 06:33:04 +0000 (06:33 +0000)]
Remove the block with always false condition from vc1_parse_frame_header()

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

15 years agoVC-1 postproc field is 2 bits wide while decoder read only single bit.
kostya [Fri, 23 Jan 2009 06:31:17 +0000 (06:31 +0000)]
VC-1 postproc field is 2 bits wide while decoder read only single bit.
Spotted by Stephen Warren.

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

15 years agoMove av_read_frame/parser related buffer variables from AVFormatContext
michael [Thu, 22 Jan 2009 23:35:31 +0000 (23:35 +0000)]
Move av_read_frame/parser related buffer variables from AVFormatContext
to AVStream, this is required if we want to allow the user to pull frames
from specific streams at some point in the future.

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

15 years agoflacdec: add support for 3 additional sample rate codes
jbr [Thu, 22 Jan 2009 22:23:58 +0000 (22:23 +0000)]
flacdec: add support for 3 additional sample rate codes

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

15 years agoMark ff_fft_init with av_cold.
alexc [Thu, 22 Jan 2009 19:48:10 +0000 (19:48 +0000)]
Mark ff_fft_init with av_cold.

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

15 years agoClean up FFT related comments.
alexc [Thu, 22 Jan 2009 19:46:23 +0000 (19:46 +0000)]
Clean up FFT related comments.

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

15 years agoprint stream sar if present and different than codec sar
bcoudurier [Thu, 22 Jan 2009 19:45:53 +0000 (19:45 +0000)]
print stream sar if present and different than codec sar

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

15 years agoUse EAGAIN return, primarely intended as example of EAGAIN useage.
michael [Thu, 22 Jan 2009 12:08:06 +0000 (12:08 +0000)]
Use EAGAIN return, primarely intended as example of EAGAIN useage.

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

15 years agoHandle av_read_frame() EAGAIN return.
michael [Thu, 22 Jan 2009 12:06:02 +0000 (12:06 +0000)]
Handle av_read_frame() EAGAIN return.

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

15 years agoHandle av_read_frame() EAGAIN return.
michael [Thu, 22 Jan 2009 12:04:01 +0000 (12:04 +0000)]
Handle av_read_frame() EAGAIN return.

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

15 years agoAdd const, remove warning:
bcoudurier [Thu, 22 Jan 2009 00:31:26 +0000 (00:31 +0000)]
Add const, remove warning:
libavcodec/audioconvert.c:190: warning: initialization discards qualifiers from pointer target type

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

15 years agoAvoid unused variable warning when compiling DES test program.
diego [Wed, 21 Jan 2009 23:55:51 +0000 (23:55 +0000)]
Avoid unused variable warning when compiling DES test program.

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

15 years ago'code' is used to index a table so make it unsigned
aurel [Wed, 21 Jan 2009 22:32:17 +0000 (22:32 +0000)]
'code' is used to index a table so make it unsigned
this prevents using negative index and possibly crashing with broken files

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

15 years agoMake base64 test program compilable as a standard test program.
diego [Wed, 21 Jan 2009 17:34:40 +0000 (17:34 +0000)]
Make base64 test program compilable as a standard test program.

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

15 years agoAdd void keyword to parameterless function declaration.
diego [Wed, 21 Jan 2009 14:28:16 +0000 (14:28 +0000)]
Add void keyword to parameterless function declaration.

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

15 years agoyet another attempt on fixing synchronization in VMD
kostya [Wed, 21 Jan 2009 13:27:39 +0000 (13:27 +0000)]
yet another attempt on fixing synchronization in VMD

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

15 years agoEmpty audio chunks in VMD are silent, not skipped
kostya [Wed, 21 Jan 2009 13:26:01 +0000 (13:26 +0000)]
Empty audio chunks in VMD are silent, not skipped

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

15 years agocosmetics: reindent after last commit
kostya [Wed, 21 Jan 2009 13:25:14 +0000 (13:25 +0000)]
cosmetics: reindent after last commit

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

15 years agoVMD first chunk of audio is not coded as many separate chunks of block_align
kostya [Wed, 21 Jan 2009 13:24:35 +0000 (13:24 +0000)]
VMD first chunk of audio is not coded as many separate chunks of block_align
size. Thus, make demuxer and decoder handle it as a whole.

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

15 years agoRename audio.c to oss_audio.c in libavdevice.
benoit [Wed, 21 Jan 2009 08:43:38 +0000 (08:43 +0000)]
Rename audio.c to oss_audio.c in libavdevice.

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