platform/upstream/libav.git
16 years agoChange AVCodecContext.bits_per_sample to bits_per_coded_sample.
Peter Ross [Fri, 29 Aug 2008 03:52:10 +0000 (03:52 +0000)]
Change AVCodecContext.bits_per_sample to bits_per_coded_sample.
Nb: This change will become active on the next libavcodec major version bump.

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

16 years agoDo not truncate timestamps before the muxer as it makes simple
Michael Niedermayer [Fri, 29 Aug 2008 01:43:27 +0000 (01:43 +0000)]
Do not truncate timestamps before the muxer as it makes simple
things like last_pts - pts rather tricky and is not good for anything.
Timestamps should be truncated just before storing when needed.

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

16 years agocosmetics: change another "get" to "decode"
Justin Ruggles [Fri, 29 Aug 2008 00:09:47 +0000 (00:09 +0000)]
cosmetics: change another "get" to "decode"

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

16 years agocosmetics: change "get" to "decode"
Justin Ruggles [Fri, 29 Aug 2008 00:06:43 +0000 (00:06 +0000)]
cosmetics: change "get" to "decode"

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

16 years agocosmetics: indentation
Justin Ruggles [Thu, 28 Aug 2008 23:16:21 +0000 (23:16 +0000)]
cosmetics: indentation

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

16 years agoremove unneeded variable, dither_all
Justin Ruggles [Thu, 28 Aug 2008 23:04:15 +0000 (23:04 +0000)]
remove unneeded variable, dither_all

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

16 years agoIntial implementation of the DV100 (AKA DVCPRO HD) decoder and demuxer as
Roman Shaposhnik [Thu, 28 Aug 2008 22:41:00 +0000 (22:41 +0000)]
Intial implementation of the DV100 (AKA DVCPRO HD) decoder and demuxer as
specified in SMPTE 370M

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

16 years agoFix a typo.
Stefano Sabatini [Thu, 28 Aug 2008 21:37:40 +0000 (21:37 +0000)]
Fix a typo.

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

16 years agoReword a sentence in a doxy making its interpretation clearer.
Stefano Sabatini [Thu, 28 Aug 2008 21:37:01 +0000 (21:37 +0000)]
Reword a sentence in a doxy making its interpretation clearer.

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

16 years agoIntroducing video_stype for holding the value of VAUX source pack
Roman Shaposhnik [Thu, 28 Aug 2008 19:21:59 +0000 (19:21 +0000)]
Introducing video_stype for holding the value of VAUX source pack
and simplifying dv_frame_profile

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

16 years agoChange implementation for ff_data_to_hex(), this is faster. See discussion on
Ronald S. Bultje [Thu, 28 Aug 2008 12:00:58 +0000 (12:00 +0000)]
Change implementation for ff_data_to_hex(), this is faster. See discussion on
mailinglist in "Realmedia patch" thread.

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

16 years agoAdd generic IIR filter interface with Butterworth lowpass filter implementation
Kostya Shishkov [Thu, 28 Aug 2008 04:53:57 +0000 (04:53 +0000)]
Add generic IIR filter interface with Butterworth lowpass filter implementation
and remove obsoleted old lowpass filter.

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

16 years agoFix mid/side stereo buggy output zeroing, fixes issue264 part 2.
Michael Niedermayer [Thu, 28 Aug 2008 00:46:09 +0000 (00:46 +0000)]
Fix mid/side stereo buggy output zeroing, fixes issue264 part 2.

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

16 years agocosmetics: rename a table
Justin Ruggles [Wed, 27 Aug 2008 23:44:34 +0000 (23:44 +0000)]
cosmetics: rename a table

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

16 years agoExport data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
Ronald S. Bultje [Wed, 27 Aug 2008 23:43:28 +0000 (23:43 +0000)]
Export data_to_hex() as private API in lavf, rename to ff_data_to_hex() and
move it from sdp.c into utils.c. Also add new header internal.h specifically
for lavf-specific internal API. See discussion in "Realmedia patch" thread
on mailinglist.

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

16 years agocosmetics: indent after last commit
Justin Ruggles [Wed, 27 Aug 2008 23:23:54 +0000 (23:23 +0000)]
cosmetics: indent after last commit

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

16 years agodo not read exponent strategies from each block for E-AC-3 since they are in the...
Justin Ruggles [Wed, 27 Aug 2008 23:11:05 +0000 (23:11 +0000)]
do not read exponent strategies from each block for E-AC-3 since they are in the header

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

16 years agoTwo cosmetic changes for improved readability and ease of HDVCPRO HD integration
Roman Shaposhnik [Wed, 27 Aug 2008 20:28:11 +0000 (20:28 +0000)]
Two cosmetic changes for improved readability and ease of HDVCPRO HD integration

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

16 years agoCosmetic change aimed at making it easier to see how bits are consumed
Roman Shaposhnik [Wed, 27 Aug 2008 20:25:47 +0000 (20:25 +0000)]
Cosmetic change aimed at making it easier to see how bits are consumed

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

16 years agoFactoring out chan_slice / 27 into seq variable
Roman Shaposhnik [Wed, 27 Aug 2008 20:21:17 +0000 (20:21 +0000)]
Factoring out chan_slice / 27 into seq variable

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

16 years agoSimplification of how dct_mode affects decoding.
Roman Shaposhnik [Wed, 27 Aug 2008 20:17:01 +0000 (20:17 +0000)]
Simplification of how dct_mode affects decoding.

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

16 years agomatroskadec: cosmetics: indentation
Aurelien Jacobs [Wed, 27 Aug 2008 19:58:55 +0000 (19:58 +0000)]
matroskadec: cosmetics: indentation

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

16 years agomatroskadec: seek to the last position known in the index before resorting to
Aurelien Jacobs [Wed, 27 Aug 2008 19:57:42 +0000 (19:57 +0000)]
matroskadec: seek to the last position known in the index before resorting to
full cluster parsing when seeking after the end of index

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

16 years agoCosmetics (format ff_nelly_dequantization_table nicer)
Michael Niedermayer [Wed, 27 Aug 2008 18:56:50 +0000 (18:56 +0000)]
Cosmetics (format ff_nelly_dequantization_table nicer)

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

16 years agoSimplify the indexing logic in the av_encode() streams mapping code.
Stefano Sabatini [Wed, 27 Aug 2008 18:50:46 +0000 (18:50 +0000)]
Simplify the indexing logic in the av_encode() streams mapping code.

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

16 years agoadd definitions and documentation for shared functions for E-AC-3 decoding
Justin Ruggles [Wed, 27 Aug 2008 01:47:03 +0000 (01:47 +0000)]
add definitions and documentation for shared functions for E-AC-3 decoding

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

16 years agocopy default coupling band structure from table to decoding context (used for E-AC-3)
Justin Ruggles [Wed, 27 Aug 2008 01:40:46 +0000 (01:40 +0000)]
copy default coupling band structure from table to decoding context (used for E-AC-3)

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

16 years agoadd more OKed parts of the E-AC-3 decoder: structural changes to support AHT mode...
Justin Ruggles [Wed, 27 Aug 2008 01:36:20 +0000 (01:36 +0000)]
add more OKed parts of the E-AC-3 decoder: structural changes to support AHT mode mantissa decoding

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

16 years agocosmetics: rename some functions from *get_* to *decode_*
Justin Ruggles [Wed, 27 Aug 2008 01:24:43 +0000 (01:24 +0000)]
cosmetics: rename some functions from *get_* to *decode_*

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

16 years agoUse RTPDynamicProtocol parse_sdp_a_line() handlers in case of unknown SDP
Ronald S. Bultje [Wed, 27 Aug 2008 00:33:22 +0000 (00:33 +0000)]
Use RTPDynamicProtocol parse_sdp_a_line() handlers in case of unknown SDP
lines. This allows "private" SDP tags to be forwarded to the specific handler,
allowing protocol-specific handling of SDP data. See mailinglist discussion
in the "Realmedia patch" thread.

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

16 years agosimplify mpeg12 avctx->pix_fmt set
Baptiste Coudurier [Tue, 26 Aug 2008 23:25:29 +0000 (23:25 +0000)]
simplify mpeg12 avctx->pix_fmt set

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

16 years agoremove useless assignment (st is never read after this line)
Aurelien Jacobs [Tue, 26 Aug 2008 20:38:04 +0000 (20:38 +0000)]
remove useless assignment (st is never read after this line)

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

16 years agomatroskadec: index timestamps are supposed to be in the timebase of the stream
Aurelien Jacobs [Tue, 26 Aug 2008 20:32:27 +0000 (20:32 +0000)]
matroskadec: index timestamps are supposed to be in the timebase of the stream

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

16 years agomxfdec: set sample_aspect_ratio
Aurelien Jacobs [Tue, 26 Aug 2008 20:21:39 +0000 (20:21 +0000)]
mxfdec: set sample_aspect_ratio

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

16 years agoAdd a temp variable to ff_sine_window_init() to match the way wma.c computed
Aurelien Jacobs [Tue, 26 Aug 2008 19:40:53 +0000 (19:40 +0000)]
Add a temp variable to ff_sine_window_init() to match the way wma.c computed
window before r14757. This fixes a regression introduced by r14757 on amd64.

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

16 years agoAdd explicit (int) cast to i386 optimized MUL* macros.
Vladimir Voroshilov [Tue, 26 Aug 2008 19:38:17 +0000 (19:38 +0000)]
Add explicit (int) cast to i386 optimized MUL* macros.
Wrong result is returned when 16-bit value is passed as value.
Also fixes "Warning: using `%edx' instead of `%dx' due to `l' suffix".

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

16 years ago(cosmetics) Remove incorrect comment.
Vladimir Voroshilov [Tue, 26 Aug 2008 18:06:07 +0000 (18:06 +0000)]
(cosmetics) Remove incorrect comment.

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

16 years ago(cosmetics) Describe for which tests clipping is required.
Vladimir Voroshilov [Tue, 26 Aug 2008 16:47:31 +0000 (16:47 +0000)]
(cosmetics) Describe for which tests clipping is required.

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

16 years agoI'll maintain mxf muxer
Baptiste Coudurier [Tue, 26 Aug 2008 16:41:29 +0000 (16:41 +0000)]
I'll maintain mxf muxer

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

16 years ago(cosmetics) Remove wrong comments.
Vladimir Voroshilov [Tue, 26 Aug 2008 16:41:23 +0000 (16:41 +0000)]
(cosmetics) Remove wrong comments.

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

16 years agoMXF is a valid output format now.
Carl Eugen Hoyos [Tue, 26 Aug 2008 16:09:41 +0000 (16:09 +0000)]
MXF is a valid output format now.

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

16 years agoRemaining parts of GSoC MXF muxer by Zhentan Feng.
Carl Eugen Hoyos [Tue, 26 Aug 2008 15:58:25 +0000 (15:58 +0000)]
Remaining parts of GSoC MXF muxer by Zhentan Feng.

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

16 years ago(cosmetics) Align comments consistently.
Vladimir Voroshilov [Tue, 26 Aug 2008 07:13:43 +0000 (07:13 +0000)]
(cosmetics) Align comments consistently.

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

16 years agoAnother set of definitions for G.729
Vladimir Voroshilov [Tue, 26 Aug 2008 07:10:38 +0000 (07:10 +0000)]
Another set of definitions for G.729

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

16 years agovertical align
Michael Niedermayer [Tue, 26 Aug 2008 01:29:43 +0000 (01:29 +0000)]
vertical align

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

16 years agoNoone seems to want to maintain MPEG-PS so i will.
Michael Niedermayer [Tue, 26 Aug 2008 01:22:19 +0000 (01:22 +0000)]
Noone seems to want to maintain MPEG-PS so i will.

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

16 years agoReplace cliping in ff_acelp_interpolate() by a check&av_log, this should be the
Michael Niedermayer [Mon, 25 Aug 2008 22:51:47 +0000 (22:51 +0000)]
Replace cliping in ff_acelp_interpolate() by a check&av_log, this should be the
quickest way to find out if it is needed.

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

16 years agoFix the seek regressions to match changes in r14956, r14959 and r14960.
Aurelien Jacobs [Mon, 25 Aug 2008 22:21:30 +0000 (22:21 +0000)]
Fix the seek regressions to match changes in r14956, r14959 and r14960.
The changes are verified and desired.

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

16 years agoImport more MXF muxer code from the SoC tree
Vitor Sessak [Mon, 25 Aug 2008 20:28:12 +0000 (20:28 +0000)]
Import more MXF muxer code from the SoC tree

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

16 years agoMissing static in float_to_int16_altivec declaration
Luca Barbato [Mon, 25 Aug 2008 16:32:03 +0000 (16:32 +0000)]
Missing static in float_to_int16_altivec declaration

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

16 years agoWhen setting codec_id during codec probe we must also set codec_type.
Andreas Öman [Mon, 25 Aug 2008 15:39:43 +0000 (15:39 +0000)]
When setting codec_id during codec probe we must also set codec_type.

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

16 years agoLittle-endian bitstream writer
Bartlomiej Wolowiec [Mon, 25 Aug 2008 08:53:14 +0000 (08:53 +0000)]
Little-endian bitstream writer

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

16 years agofir_32bands_perfect[] contents were mixed, restore original order
Alexander E. Patrakov [Mon, 25 Aug 2008 06:28:52 +0000 (06:28 +0000)]
fir_32bands_perfect[] contents were mixed, restore original order
Patch by Alexander Patrakov ($lastname <whirlpool> gmail.com)
Thread: dcadata.h: fir_32bands_perfect[] is wrong

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

16 years agoFix udp.c compilation with recent glibc (>= 2.8)
Luca Abeni [Mon, 25 Aug 2008 06:20:00 +0000 (06:20 +0000)]
Fix udp.c compilation with recent glibc (>= 2.8)

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

16 years agoARM: add prefetch function using ARMv5 PLD instruction
Måns Rullgård [Mon, 25 Aug 2008 02:29:04 +0000 (02:29 +0000)]
ARM: add prefetch function using ARMv5 PLD instruction

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

16 years agoARM: set STRIDE_ALIGN and DECLARE_ALIGNED_8 to 16 for NEON
Måns Rullgård [Mon, 25 Aug 2008 01:59:06 +0000 (01:59 +0000)]
ARM: set STRIDE_ALIGN and DECLARE_ALIGNED_8 to 16 for NEON

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

16 years agomatroskadec: unset matroska->done when seeking
Aurelien Jacobs [Mon, 25 Aug 2008 00:17:31 +0000 (00:17 +0000)]
matroskadec: unset matroska->done when seeking
just in case someone try to seek back after reaching the end of file

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

16 years agomatroskadec: full seeking support in index-less files
Aurelien Jacobs [Mon, 25 Aug 2008 00:15:49 +0000 (00:15 +0000)]
matroskadec: full seeking support in index-less files
when trying to seek past the last index entry, just parse more clusters to add them to the index, until an index entry match the desired position

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

16 years agoright shift the values by 8 in GAQ remap "B" table. data now fits in int8_t.
Justin Ruggles [Mon, 25 Aug 2008 00:15:29 +0000 (00:15 +0000)]
right shift the values by 8 in GAQ remap "B" table. data now fits in int8_t.

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

16 years agomatroskadec: on the fly index construction for index-less files
Aurelien Jacobs [Mon, 25 Aug 2008 00:09:08 +0000 (00:09 +0000)]
matroskadec: on the fly index construction for index-less files
each cluster that is read and that contains a video key frame is added
to the index

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

16 years agomatroskadec: don't try to seek to negative timestamp
Aurelien Jacobs [Sun, 24 Aug 2008 23:57:29 +0000 (23:57 +0000)]
matroskadec: don't try to seek to negative timestamp
matroska timestamps are unsigned

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

16 years agomatroskadec: move setting of matroska->done inside matroska_parse_cluster()
Aurelien Jacobs [Sun, 24 Aug 2008 23:54:14 +0000 (23:54 +0000)]
matroskadec: move setting of matroska->done inside matroska_parse_cluster()

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

16 years agorestore accidently deleted file
Justin Ruggles [Sun, 24 Aug 2008 23:17:26 +0000 (23:17 +0000)]
restore accidently deleted file

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

16 years ago1000l to me. committed to wrong repo. revert last commit.
Justin Ruggles [Sun, 24 Aug 2008 22:57:25 +0000 (22:57 +0000)]
1000l to me. committed to wrong repo. revert last commit.

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

16 years agocosmetics: rename some functions from *get_* to *decode_*
Justin Ruggles [Sun, 24 Aug 2008 22:55:08 +0000 (22:55 +0000)]
cosmetics: rename some functions from *get_* to *decode_*

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

16 years agoAdd ff_ prefix to ogg_codec_t structs
Reimar Döffinger [Sun, 24 Aug 2008 17:37:43 +0000 (17:37 +0000)]
Add ff_ prefix to ogg_codec_t structs

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

16 years agoMark several libavformat arrays const
Reimar Döffinger [Sun, 24 Aug 2008 17:24:34 +0000 (17:24 +0000)]
Mark several libavformat arrays const

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

16 years agoMark "matroska" probe data string constant.
Reimar Döffinger [Sun, 24 Aug 2008 17:19:46 +0000 (17:19 +0000)]
Mark "matroska" probe data string constant.

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

16 years agoMake ogg_codec_t descriptions const
Reimar Döffinger [Sun, 24 Aug 2008 17:09:15 +0000 (17:09 +0000)]
Make ogg_codec_t descriptions const

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

16 years agoChange codec_tag type from const struct AVCodecTag ** to const struct AVCodecTag...
Reimar Döffinger [Sun, 24 Aug 2008 16:51:50 +0000 (16:51 +0000)]
Change codec_tag type from const struct AVCodecTag ** to const struct AVCodecTag * const *

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

16 years agoRemove check for @ in tcp.c which removes the authorization data from the
Ronald S. Bultje [Sun, 24 Aug 2008 16:22:40 +0000 (16:22 +0000)]
Remove check for @ in tcp.c which removes the authorization data from the
actual hostname. This functionality already exists (and always existed) in
url_split() and is therefore useless. See discussion in "[PATCH] tcp.c/udp.c
memleak?" thread on ffmpeg-devel.

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

16 years agovoc: add ff_ prefix to some global const data
Aurelien Jacobs [Sun, 24 Aug 2008 14:12:03 +0000 (14:12 +0000)]
voc: add ff_ prefix to some global const data

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

16 years agoRemove useless empty close functions in mmf and mm demuxers.
Reimar Döffinger [Sun, 24 Aug 2008 14:02:55 +0000 (14:02 +0000)]
Remove useless empty close functions in mmf and mm demuxers.

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

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