platform/upstream/libav.git
15 years agoHAVE_3DNOW --> HAVE_AMD3DNOW
Diego Biurrun [Mon, 26 Jan 2009 08:36:06 +0000 (08:36 +0000)]
HAVE_3DNOW --> HAVE_AMD3DNOW

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

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

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

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

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

15 years agoMake opt_preset() use FFMPEG_DATADIR from config.h rather than /usr and
Robert Swain [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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 years agoHAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.
Diego Biurrun [Sun, 25 Jan 2009 19:58:33 +0000 (19:58 +0000)]
HAVE_3DNOW --> HAVE_AMD3DNOW to sync with latest configure changes.

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

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

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

15 years agoRestore _MSC_VER case in DECLARE_ALIGNED/DECLARE_ASM_CONST macro declaration.
Diego Biurrun [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.

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

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

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

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

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

15 years agoDrop _MSC_VER case from macro declaration.
Diego Biurrun [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.

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

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

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

15 years agoMove DECLARE_ALIGNED and DECLARE_ASM_CONST to internal.h.
Diego Biurrun [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.

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

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

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

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

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

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

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

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

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

15 years agoDo not #include common.h without necessity.
Diego Biurrun [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.

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

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

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

15 years agoMove documentation of av_register_all() from allformats.c to
Stefano Sabatini [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.

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

15 years agoRemove redundant av_log2_16bit forward declaration, fixes checkheaders warning:
Diego Biurrun [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

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

15 years agoMove internal.h #include to the end of the file so that it is after
Diego Biurrun [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.

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

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

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

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

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

15 years agoDeclare struct SwsContext before using it, fixes the checkheaders warning:
Diego Biurrun [Sun, 25 Jan 2009 12:03:28 +0000 (12:03 +0000)]
Declare struct SwsContext before using it, fixes the checkheaders warning:
libswscale/swscale_internal.h:58: warning: `struct SwsContext' declared inside parameter list
libswscale/swscale_internal.h:58: warning: its scope is only this definition or declaration, which is probably not what you want

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

15 years agoDisable C code when compiling AltiVec code, fixes the warning:
Diego Biurrun [Sun, 25 Jan 2009 11:59:22 +0000 (11:59 +0000)]
Disable C code when compiling AltiVec code, fixes the warning:
swscale_template.c:2623: warning: `swScale_C' defined but not used

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

15 years agospelling/grammar cosmetics
Diego Biurrun [Sun, 25 Jan 2009 11:57:17 +0000 (11:57 +0000)]
spelling/grammar cosmetics

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

15 years agoFix #endif comments.
Diego Biurrun [Sun, 25 Jan 2009 11:33:35 +0000 (11:33 +0000)]
Fix #endif comments.

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

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

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

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

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

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

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

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

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

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

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

15 years agoHandle ID3v2 tags in raw FLAC streams by skipping them.
David DeHaven [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)

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

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

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

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

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

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

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

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

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

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

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

15 years agoRemove --enable-static and --disable-shared from help output.
Diego Biurrun [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.

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

15 years agoUse cc_default variable in help output for --cc option.
Diego Biurrun [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.

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

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

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

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

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

15 years agoconfigure: add help for fastdiv
Måns Rullgård [Sat, 24 Jan 2009 17:08:49 +0000 (17:08 +0000)]
configure: add help for fastdiv

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 years agoremove alloc_table_0 and alloc_table_2, the same
Stefan Gehrer [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

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

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

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

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

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

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

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

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

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

15 years agoreturn an error if we can not get a full packet,
Stefan Gehrer [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

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

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

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

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

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

15 years agoSkip m= blocks in the SDP if the media type is unknown. This prevents
Ronald S. Bultje [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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 years agoadd EM4A fourcc , works for:
Ben Littler [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

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

15 years agoAvoid allocating MPADecodeContext on stack.
Andreas Öman [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.

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

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

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

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

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

15 years agoVC-1 postproc field is 2 bits wide while decoder read only single bit.
Kostya Shishkov [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.

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

15 years agoMove av_read_frame/parser related buffer variables from AVFormatContext
Michael Niedermayer [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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 years agoAdd const, remove warning:
Baptiste Coudurier [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

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

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

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

15 years ago'code' is used to index a table so make it unsigned
Aurelien Jacobs [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

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

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

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

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

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

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

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

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

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

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

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

15 years agoVMD first chunk of audio is not coded as many separate chunks of block_align
Kostya Shishkov [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.

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

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

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

15 years agofix seek reg tests, Im always forgetting this
Baptiste Coudurier [Wed, 21 Jan 2009 00:36:34 +0000 (00:36 +0000)]
fix seek reg tests, Im always forgetting this

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

15 years agoSort VdpPictureInfo alphabetically.
Carl Eugen Hoyos [Tue, 20 Jan 2009 22:53:25 +0000 (22:53 +0000)]
Sort VdpPictureInfo alphabetically.

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

15 years agoexit with error code if av_encode failed
Baptiste Coudurier [Tue, 20 Jan 2009 21:09:51 +0000 (21:09 +0000)]
exit with error code if av_encode failed

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