platform/upstream/libav.git
16 years agomatroskadec: make aac_profiles array const
Aurelien Jacobs [Sun, 24 Aug 2008 13:12:41 +0000 (13:12 +0000)]
matroskadec: make aac_profiles array const

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

16 years agoMake the id3v1_genre_str array const, not just the strings it points to.
Reimar Döffinger [Sun, 24 Aug 2008 12:45:15 +0000 (12:45 +0000)]
Make the id3v1_genre_str array const, not just the strings it points to.

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

16 years agostricter constraints of asm() blocks
Alexis Ballier [Sun, 24 Aug 2008 08:41:20 +0000 (08:41 +0000)]
stricter constraints of asm() blocks
All these variables are used as left operands of a movd instruction,
which does accept only memory or register operands while the "g"
constraint also allows immediates. Use "rm" instead.
Patch by Alexis Ballier %alexis P ballier A gmail P com%

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

16 years agoFix index to ff_sine_windows[]. Previously the index was usually in reverse
Robert Swain [Sun, 24 Aug 2008 08:31:19 +0000 (08:31 +0000)]
Fix index to ff_sine_windows[]. Previously the index was usually in reverse
order.

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

16 years agookayed chunks of AAC encoder
Kostya Shishkov [Sun, 24 Aug 2008 05:56:23 +0000 (05:56 +0000)]
okayed chunks of AAC encoder

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

16 years agoImport more ok'ed chunks of the mxf muxer from the soc tree
Vitor Sessak [Sun, 24 Aug 2008 05:55:46 +0000 (05:55 +0000)]
Import more ok'ed chunks of the mxf muxer from the soc tree

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

16 years agoCorrect scaling factor in DCA decoder synthesis.
Alexander E. Patrakov [Sun, 24 Aug 2008 05:47:45 +0000 (05:47 +0000)]
Correct scaling factor in DCA decoder synthesis.
Patch by Alexander Patrakov ($lastname at gmail.com)
Thread: dca.c: output scale is a bit off

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

16 years agochange eac3dec.c license to LGPL
Justin Ruggles [Sun, 24 Aug 2008 04:55:32 +0000 (04:55 +0000)]
change eac3dec.c license to LGPL

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

16 years agodocument some dsp alignments
Loren Merritt [Sun, 24 Aug 2008 04:03:02 +0000 (04:03 +0000)]
document some dsp alignments

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

16 years agoEnsure that SDL_AddTimer() is never called with a delay of 0 because
Michael Niedermayer [Sun, 24 Aug 2008 00:32:10 +0000 (00:32 +0000)]
Ensure that SDL_AddTimer() is never called with a delay of 0 because
this leads to a runaway creation of timers. We never pass 0 currently
but it is safer to check for it explicitly as changes to the code can
easily lead to 0 being used.

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

16 years agoconvert every muxer/demuxer to write/read sample_aspect_ratio from/to
Aurelien Jacobs [Sat, 23 Aug 2008 23:43:20 +0000 (23:43 +0000)]
convert every muxer/demuxer to write/read sample_aspect_ratio from/to
the corresponding AVStream instead of AVCodecContext

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

16 years agoexport sample_aspect_ratio read by the demuxer in a separate field
Aurelien Jacobs [Sat, 23 Aug 2008 23:13:58 +0000 (23:13 +0000)]
export sample_aspect_ratio read by the demuxer in a separate field
that the one read by the decoder.

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

16 years agoUpgrade 20/24-bit PCM DVD decoder use SAMPLE_FMT_S32. Patch supplied by lars dot...
Peter Ross [Sat, 23 Aug 2008 22:45:03 +0000 (22:45 +0000)]
Upgrade 20/24-bit PCM DVD decoder use SAMPLE_FMT_S32. Patch supplied by lars dot taeuber at gmx dot net.

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

16 years agoAdd raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.
Peter Ross [Sat, 23 Aug 2008 22:36:35 +0000 (22:36 +0000)]
Add raw muxers/demuxers for F64/F32/S32/S24/U32/U24 PCM audio.

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

16 years agoRemove unused variables
Luca Barbato [Sat, 23 Aug 2008 21:10:38 +0000 (21:10 +0000)]
Remove unused variables

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

16 years agoIntroduce float_to_int16_interleave_altivec, tested with vorbis
Luca Barbato [Sat, 23 Aug 2008 21:09:46 +0000 (21:09 +0000)]
Introduce float_to_int16_interleave_altivec, tested with vorbis

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

16 years agoIntroduce float_to_int16_one_altivec
Luca Barbato [Sat, 23 Aug 2008 21:02:30 +0000 (21:02 +0000)]
Introduce float_to_int16_one_altivec

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

16 years agoCosmetics after previous patches.
Ronald S. Bultje [Sat, 23 Aug 2008 18:52:26 +0000 (18:52 +0000)]
Cosmetics after previous patches.

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

16 years agoOn failure, return directly because the fail: case does nothing. This also
Ronald S. Bultje [Sat, 23 Aug 2008 18:49:16 +0000 (18:49 +0000)]
On failure, return directly because the fail: case does nothing. This also
allows easier control of the actual return value.

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

16 years agoMove malloc() down until after all initializations, so that the resource is
Ronald S. Bultje [Sat, 23 Aug 2008 18:46:30 +0000 (18:46 +0000)]
Move malloc() down until after all initializations, so that the resource is
only allocated if initialization worked. This means that on failure, we
don't have to deallocate it.

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

16 years agoFix memleak on some OSes in case network initialization fails. See
Ronald S. Bultje [Sat, 23 Aug 2008 17:39:56 +0000 (17:39 +0000)]
Fix memleak on some OSes in case network initialization fails. See
"[PATCH] tcp.c/udp.c memleak?" for discussion.

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

16 years agoRemove useless comments. See "[PATCH] tcp.c/udp.c memleak?" for discussion.
Ronald S. Bultje [Sat, 23 Aug 2008 17:39:10 +0000 (17:39 +0000)]
Remove useless comments. See "[PATCH] tcp.c/udp.c memleak?" for discussion.

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

16 years agoSimple lowpass filter implementation.
Kostya Shishkov [Sat, 23 Aug 2008 15:49:58 +0000 (15:49 +0000)]
Simple lowpass filter implementation.

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

16 years agoDo not pass unnecessary arguments to AAC encoder functions
Kostya Shishkov [Sat, 23 Aug 2008 15:25:57 +0000 (15:25 +0000)]
Do not pass unnecessary arguments to AAC encoder functions

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

16 years agoenable fl32/64 le/be in mov with stsd audio v2
Baptiste Coudurier [Sat, 23 Aug 2008 15:25:38 +0000 (15:25 +0000)]
enable fl32/64 le/be in mov with stsd audio v2

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

16 years agoRemove redundant FFMIN().
Michael Niedermayer [Sat, 23 Aug 2008 13:35:12 +0000 (13:35 +0000)]
Remove redundant FFMIN().

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

16 years agoIncrease buffer size to 16384 patch by Alexander E. Patrakov" patrakov gmail
Alexander E. Patrakov [Sat, 23 Aug 2008 13:29:13 +0000 (13:29 +0000)]
Increase buffer size to 16384 patch by Alexander E. Patrakov" patrakov gmail
This fixes a (probably not exploitable) buffer overflow (apparently unknown to its author).

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

16 years agoRemove unnecessary header inclusion from g729.h
Vladimir Voroshilov [Sat, 23 Aug 2008 12:49:13 +0000 (12:49 +0000)]
Remove unnecessary header inclusion from g729.h

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

16 years agoMove from g729.h all definitions which are used only in g729dec.c
Vladimir Voroshilov [Sat, 23 Aug 2008 12:38:45 +0000 (12:38 +0000)]
Move from g729.h all definitions which are used only in g729dec.c

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

16 years agoProvide a context to opt_frame_rate(), and make it print the wrong
Stefano Sabatini [Sat, 23 Aug 2008 12:07:48 +0000 (12:07 +0000)]
Provide a context to opt_frame_rate(), and make it print the wrong
value in case of error. Improve error reporting and consistency with
the other opt_* functions.

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

16 years agofix decoding of coupling leak info for normal AC-3
Justin Ruggles [Sat, 23 Aug 2008 03:30:08 +0000 (03:30 +0000)]
fix decoding of coupling leak info for normal AC-3

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

16 years agoadd more OKed parts of the E-AC-3 decoder
Justin Ruggles [Sat, 23 Aug 2008 02:04:36 +0000 (02:04 +0000)]
add more OKed parts of the E-AC-3 decoder

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

16 years agocosmetics: indentation
Justin Ruggles [Sat, 23 Aug 2008 01:55:52 +0000 (01:55 +0000)]
cosmetics: indentation

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

16 years agoadd some approved parts of the E-AC-3 decoder
Justin Ruggles [Sat, 23 Aug 2008 01:51:42 +0000 (01:51 +0000)]
add some approved parts of the E-AC-3 decoder

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

16 years agoDo not set timestamp information for a non existing AVStream
Luca Abeni [Fri, 22 Aug 2008 19:03:05 +0000 (19:03 +0000)]
Do not set timestamp information for a non existing AVStream
(fix a bug in the RTP demuxer)

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

16 years agoUse ff_imdct_half() and vector_fmul_window() for IMDCT and windowing. Reduce
Robert Swain [Fri, 22 Aug 2008 18:21:22 +0000 (18:21 +0000)]
Use ff_imdct_half() and vector_fmul_window() for IMDCT and windowing. Reduce
buffer sizes accordingly. This produces a ~10% overall decoding perfomance
improvement.

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

16 years agoWhitespace cosmetics after the last commit
Robert Swain [Fri, 22 Aug 2008 18:19:18 +0000 (18:19 +0000)]
Whitespace cosmetics after the last commit

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

16 years agoSeparate code in imdct_and_windowing() into distinct IMDCT, windowing and
Robert Swain [Fri, 22 Aug 2008 18:18:50 +0000 (18:18 +0000)]
Separate code in imdct_and_windowing() into distinct IMDCT, windowing and
buffer update sections

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

16 years agoalac : check readsamplesize to ensure get_bits() doesn't
Matthieu Castet [Fri, 22 Aug 2008 15:09:20 +0000 (15:09 +0000)]
alac : check readsamplesize to ensure get_bits() doesn't
fail. Patch by Matthieu Castet <castet.matthieu AT free fr>

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

16 years agoalacenc : perform decorrelation only for stereo samples
Jai Menon [Fri, 22 Aug 2008 14:57:35 +0000 (14:57 +0000)]
alacenc : perform decorrelation only for stereo samples

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

16 years agoApply parts of MXF muxer ok'ed by Michael
Vitor Sessak [Fri, 22 Aug 2008 04:12:52 +0000 (04:12 +0000)]
Apply parts of MXF muxer ok'ed by Michael

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

16 years agoMake equation in doxy of ff_acelp_weighted_vector_sum() more readable by
Michael Niedermayer [Thu, 21 Aug 2008 23:52:48 +0000 (23:52 +0000)]
Make equation in doxy of ff_acelp_weighted_vector_sum() more readable by
adding spaces.

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

16 years agodoxygen consistency
Michael Niedermayer [Thu, 21 Aug 2008 23:51:25 +0000 (23:51 +0000)]
doxygen consistency

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

16 years agoMake comments doxygen compatible.
Michael Niedermayer [Thu, 21 Aug 2008 23:49:58 +0000 (23:49 +0000)]
Make comments doxygen compatible.

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

16 years agoDoxygen syntax consistency.
Michael Niedermayer [Thu, 21 Aug 2008 23:45:20 +0000 (23:45 +0000)]
Doxygen syntax consistency.

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

16 years agoMention cut-off freq of ff_acelp_high_pass_filter() instead of some
Michael Niedermayer [Thu, 21 Aug 2008 23:39:52 +0000 (23:39 +0000)]
Mention cut-off freq of ff_acelp_high_pass_filter() instead of some
meaningless input dependent value.

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

16 years agoRemove mathops.h dependancy.
Michael Niedermayer [Thu, 21 Aug 2008 23:25:41 +0000 (23:25 +0000)]
Remove mathops.h dependancy.

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

16 years agovertical align
Michael Niedermayer [Thu, 21 Aug 2008 23:23:01 +0000 (23:23 +0000)]
vertical align

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

16 years agoRemove ff_acelp_weighted_filter() which is just a function wrapping a 1
Michael Niedermayer [Thu, 21 Aug 2008 23:22:11 +0000 (23:22 +0000)]
Remove ff_acelp_weighted_filter() which is just a function wrapping a 1
line loop.

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

16 years agoRename subframe_size to a name that is not specific to some specific use
Michael Niedermayer [Thu, 21 Aug 2008 22:41:20 +0000 (22:41 +0000)]
Rename subframe_size to a name that is not specific to some specific use
of ff_acelp_convolve_circ()

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

16 years agorename pitch_delay_frac in ff_acelp_interpolate()
Michael Niedermayer [Thu, 21 Aug 2008 22:36:32 +0000 (22:36 +0000)]
rename pitch_delay_frac in ff_acelp_interpolate()

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

16 years agoTry to improve parameter doxy of ff_acelp_interpolate().
Michael Niedermayer [Thu, 21 Aug 2008 22:34:13 +0000 (22:34 +0000)]
Try to improve parameter doxy of ff_acelp_interpolate().

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

16 years agoClarify how generic ff_acelp_interpolate() is.
Michael Niedermayer [Thu, 21 Aug 2008 22:05:14 +0000 (22:05 +0000)]
Clarify how generic ff_acelp_interpolate() is.

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

16 years agoCorrect incorrect length parameter doxy for ff_acelp_interpolate().
Michael Niedermayer [Thu, 21 Aug 2008 22:02:04 +0000 (22:02 +0000)]
Correct incorrect length parameter doxy for ff_acelp_interpolate().

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

16 years agoRight half is clearer than positive half for specifying which part of
Michael Niedermayer [Thu, 21 Aug 2008 21:59:42 +0000 (21:59 +0000)]
Right half is clearer than positive half for specifying which part of
the filter coeffs is used.

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

16 years agoMention the fixed-point scale of the FIR filter coefficients.
Michael Niedermayer [Thu, 21 Aug 2008 21:56:48 +0000 (21:56 +0000)]
Mention the fixed-point scale of the FIR filter coefficients.

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

16 years agoCleanup comment for ff_acelp_interp_filter.
Michael Niedermayer [Thu, 21 Aug 2008 21:52:56 +0000 (21:52 +0000)]
Cleanup comment for ff_acelp_interp_filter.

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

16 years agoMake doxygen comments consistent with the rest of FFmpeg.
Michael Niedermayer [Thu, 21 Aug 2008 21:37:53 +0000 (21:37 +0000)]
Make doxygen comments consistent with the rest of FFmpeg.

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

16 years agoDocument code, do not document difference to a irrelevant reference implementation.
Michael Niedermayer [Thu, 21 Aug 2008 21:33:31 +0000 (21:33 +0000)]
Document code, do not document difference to a irrelevant reference implementation.

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

16 years agoRemove some irrelevant comments.
Michael Niedermayer [Thu, 21 Aug 2008 21:31:03 +0000 (21:31 +0000)]
Remove some irrelevant comments.

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

16 years agofirst and second stage LSP codebooks for G.729
Vladimir Voroshilov [Thu, 21 Aug 2008 13:35:23 +0000 (13:35 +0000)]
first and second stage LSP codebooks for G.729

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

16 years agoReindent after last commit
Robert Swain [Thu, 21 Aug 2008 12:13:22 +0000 (12:13 +0000)]
Reindent after last commit

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

16 years agoWork around GCC variable may be used uninitialised warning
Robert Swain [Thu, 21 Aug 2008 12:12:03 +0000 (12:12 +0000)]
Work around GCC variable may be used uninitialised warning

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

16 years agoRemove unused variable
Robert Swain [Thu, 21 Aug 2008 11:29:28 +0000 (11:29 +0000)]
Remove unused variable

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

16 years agoInclude floating point PCM in changelog and documentation.
Peter Ross [Thu, 21 Aug 2008 10:54:24 +0000 (10:54 +0000)]
Include floating point PCM in changelog and documentation.

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

16 years agocosmetics: Fix incorrect indentation.
Diego Biurrun [Thu, 21 Aug 2008 10:31:08 +0000 (10:31 +0000)]
cosmetics: Fix incorrect indentation.

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

16 years agoReindent
Robert Swain [Thu, 21 Aug 2008 10:23:55 +0000 (10:23 +0000)]
Reindent

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

16 years agoCorrect regex file name matching as per Måns' suggestion
Robert Swain [Thu, 21 Aug 2008 10:15:05 +0000 (10:15 +0000)]
Correct regex file name matching as per Måns' suggestion

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

16 years agoThe comment about channel order for AAC 5.1 audio was not correct, fix it.
Andreas Öman [Thu, 21 Aug 2008 07:57:51 +0000 (07:57 +0000)]
The comment about channel order for AAC 5.1 audio was not correct, fix it.

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

16 years agoAdd me as maintainer of the AAC decoder code
Robert Swain [Thu, 21 Aug 2008 07:55:48 +0000 (07:55 +0000)]
Add me as maintainer of the AAC decoder code

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

16 years agoLast hunk of the AAC decoder code to be OKed and build system and documentation
Robert Swain [Thu, 21 Aug 2008 07:21:26 +0000 (07:21 +0000)]
Last hunk of the AAC decoder code to be OKed and build system and documentation
alterations as appropriate

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

16 years agoSimplify timestamp reordering by using the new API.
Michael Niedermayer [Wed, 20 Aug 2008 23:17:43 +0000 (23:17 +0000)]
Simplify timestamp reordering by using the new API.

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

16 years agoProvide a simpler way for the user to reorder her timestamps.
Michael Niedermayer [Wed, 20 Aug 2008 23:11:26 +0000 (23:11 +0000)]
Provide a simpler way for the user to reorder her timestamps.

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

16 years agomatroskadec: fail cleanly when the required compression lib is not compiled in
Aurelien Jacobs [Wed, 20 Aug 2008 23:08:07 +0000 (23:08 +0000)]
matroskadec: fail cleanly when the required compression lib is not compiled in

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

16 years agomatroskadec: stop parsing when skipping en element crossing over the end of file
Aurelien Jacobs [Wed, 20 Aug 2008 22:30:15 +0000 (22:30 +0000)]
matroskadec: stop parsing when skipping en element crossing over the end of file

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

16 years agoFix #include path, headers from other directories need to have
Diego Biurrun [Wed, 20 Aug 2008 21:58:05 +0000 (21:58 +0000)]
Fix #include path, headers from other directories need to have
the directory name prefixed now.

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

16 years agoRename ff_init_vlcs function to the more descriptive name ff_mpeg12_init_vlcs.
Diego Biurrun [Wed, 20 Aug 2008 17:05:14 +0000 (17:05 +0000)]
Rename ff_init_vlcs function to the more descriptive name ff_mpeg12_init_vlcs.
Now that it is exported, this should avoid confusion and name clashes.

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

16 years agocosmetics: comment spelling/grammar fixes
Diego Biurrun [Wed, 20 Aug 2008 16:59:26 +0000 (16:59 +0000)]
cosmetics: comment spelling/grammar fixes

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

16 years agomatroska: fix regression test according to r14862
Aurelien Jacobs [Wed, 20 Aug 2008 13:22:10 +0000 (13:22 +0000)]
matroska: fix regression test according to r14862

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

16 years agoFix PCM DVD divide by zero bug introduced in r14659. Patch supplied by lars dot taeub...
Peter Ross [Wed, 20 Aug 2008 11:05:15 +0000 (11:05 +0000)]
Fix PCM DVD divide by zero bug introduced in r14659. Patch supplied by lars dot taeuber at gmx dot net.

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

16 years agocosmetics: indentation
Justin Ruggles [Wed, 20 Aug 2008 01:02:32 +0000 (01:02 +0000)]
cosmetics: indentation

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

16 years agomatroska: add support for most variants of PCM
Aurelien Jacobs [Wed, 20 Aug 2008 00:49:45 +0000 (00:49 +0000)]
matroska: add support for most variants of PCM

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

16 years agomatroskadec: handle EBML_ID_VOID and EBML_ID_CRC32 in a generic way
Aurelien Jacobs [Wed, 20 Aug 2008 00:44:25 +0000 (00:44 +0000)]
matroskadec: handle EBML_ID_VOID and EBML_ID_CRC32 in a generic way

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

16 years agocommit the OKed parts of the E-AC-3 decoder
Justin Ruggles [Wed, 20 Aug 2008 00:32:17 +0000 (00:32 +0000)]
commit the OKed parts of the E-AC-3 decoder

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

16 years agoget data size based on the actual data array instead of coding-in the calculation
Justin Ruggles [Wed, 20 Aug 2008 00:15:27 +0000 (00:15 +0000)]
get data size based on the actual data array instead of coding-in the calculation

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

16 years agorename AC3_MAX_FRAME_SIZE to AC3_FRAME_BUFFER_SIZE and increase the size
Justin Ruggles [Wed, 20 Aug 2008 00:08:59 +0000 (00:08 +0000)]
rename AC3_MAX_FRAME_SIZE to AC3_FRAME_BUFFER_SIZE and increase the size

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

16 years agoImplement url_open_protocol(), which is basiclly the former url_open()
Ronald S. Bultje [Tue, 19 Aug 2008 23:44:23 +0000 (23:44 +0000)]
Implement url_open_protocol(), which is basiclly the former url_open()
but which opens a URLProtocol instead of a filename. url_open() is
reimplemented to call url_open_protocol(). See discussion on
"url_open_protocol" on ffmpeg-devel.

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

16 years agoCosmetics: remove a redundant and misplaced doxy.
Stefano Sabatini [Tue, 19 Aug 2008 22:17:13 +0000 (22:17 +0000)]
Cosmetics: remove a redundant and misplaced doxy.

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

16 years agoDeprecate av_fifo_realloc(). av_fifo_realloc2() should be used instead.
Stefano Sabatini [Tue, 19 Aug 2008 22:15:05 +0000 (22:15 +0000)]
Deprecate av_fifo_realloc(). av_fifo_realloc2() should be used instead.

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

16 years agoOk-ed parts from patch by zhentan feng.
Zhentan Feng [Tue, 19 Aug 2008 22:01:57 +0000 (22:01 +0000)]
Ok-ed parts from patch by zhentan feng.

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

16 years agoRemove useless #ifdef DEBUG (patch by Zhentan Feng).
Zhentan Feng [Tue, 19 Aug 2008 21:58:47 +0000 (21:58 +0000)]
Remove useless #ifdef DEBUG (patch by Zhentan Feng).

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

16 years agoWorkaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__.
Michael Niedermayer [Tue, 19 Aug 2008 21:20:39 +0000 (21:20 +0000)]
Workaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__.

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

16 years agoUntangle mpeg12.c and mdec.c so that mdec.c can be compiled separately.
Diego Biurrun [Tue, 19 Aug 2008 20:52:26 +0000 (20:52 +0000)]
Untangle mpeg12.c and mdec.c so that mdec.c can be compiled separately.

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

16 years agocosmetics: s/const static/static const/g
Mathieu Malaterre [Tue, 19 Aug 2008 20:04:46 +0000 (20:04 +0000)]
cosmetics: s/const static/static const/g
patch by Mathieu Malaterre, mathieu.malaterre gmail com

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

16 years agoUpdate changelog and general.texi to reflect
Jai Menon [Tue, 19 Aug 2008 19:25:00 +0000 (19:25 +0000)]
Update changelog and general.texi to reflect
addition of the alac encoder, add Jai Menon
to MAINTAINERS and bump LIBAVCODEC_VERSION_MINOR.

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

16 years agoReplace invocations of av_fifo_realloc(), which is going to be
Stefano Sabatini [Tue, 19 Aug 2008 18:49:57 +0000 (18:49 +0000)]
Replace invocations of av_fifo_realloc(), which is going to be
deprecated, with corresponding invocations of av_fifo_realloc2().

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

16 years agoalacenc: compare against ALAC_MAX_LPC_ORDER instead of MAX_LPC_ORDER
Jai Menon [Tue, 19 Aug 2008 18:45:00 +0000 (18:45 +0000)]
alacenc: compare against ALAC_MAX_LPC_ORDER instead of MAX_LPC_ORDER

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

16 years agoImplement av_fifo_realloc2().
Stefano Sabatini [Tue, 19 Aug 2008 18:43:34 +0000 (18:43 +0000)]
Implement av_fifo_realloc2().

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

16 years agoalacenc: last few hunks approved by michael
Jai Menon [Tue, 19 Aug 2008 17:20:41 +0000 (17:20 +0000)]
alacenc: last few hunks approved by michael

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

16 years agoalacenc: Use user-specified min and max prediction order.
Ramiro Polla [Tue, 19 Aug 2008 16:12:05 +0000 (16:12 +0000)]
alacenc: Use user-specified min and max prediction order.

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