]> git.sesse.net Git - ffmpeg/log
ffmpeg
14 years agoFix typo in comment.
Reimar Döffinger [Wed, 30 Sep 2009 12:39:18 +0000 (12:39 +0000)]
Fix typo in comment.

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

14 years agoUse skip_put_bytes in MJPEG encoder instead of filling all bytes with 0
Reimar Döffinger [Wed, 30 Sep 2009 10:48:14 +0000 (10:48 +0000)]
Use skip_put_bytes in MJPEG encoder instead of filling all bytes with 0
with put_bits.

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

14 years agoUse ff_put_string in vorbis encoder.
Reimar Döffinger [Wed, 30 Sep 2009 10:37:37 +0000 (10:37 +0000)]
Use ff_put_string in vorbis encoder.

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

14 years agoReplace several #ifdef PIC with the more obvious and correct
Reimar Döffinger [Wed, 30 Sep 2009 09:49:12 +0000 (09:49 +0000)]
Replace several #ifdef PIC with the more obvious and correct
#if !HAVE_EBX_AVAILABLE, since all it does is avoid using ebx.

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

14 years agoDisable parsing for ogg streams where no ogg header was found,
Reimar Döffinger [Wed, 30 Sep 2009 09:46:48 +0000 (09:46 +0000)]
Disable parsing for ogg streams where no ogg header was found,
if no header was found the parser was not initialized and thus will
crash when trying to use it.

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

14 years agoConvert latin1 codec_name in mov to UTF-8, since all strings in FFmpeg
Reimar Döffinger [Wed, 30 Sep 2009 09:43:56 +0000 (09:43 +0000)]
Convert latin1 codec_name in mov to UTF-8, since all strings in FFmpeg
must be valid UTF-8.

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

14 years agoWhen BitsPerSample tag is not present in TIFF, that means file is
Kostya Shishkov [Wed, 30 Sep 2009 05:49:18 +0000 (05:49 +0000)]
When BitsPerSample tag is not present in TIFF, that means file is
monochrome, so initialize picture before decoding.
This fixes decoding monochrome files produced by lavc TIFF encoder.

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

14 years agoSimplify stereo rematrixing by only using one temporary variable. It is also
Justin Ruggles [Wed, 30 Sep 2009 01:25:04 +0000 (01:25 +0000)]
Simplify stereo rematrixing by only using one temporary variable. It is also
about 1.8% faster on my system.

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

14 years agoremove unneeded assignment in inner loop. rematrixing bands are contiguous.
Justin Ruggles [Wed, 30 Sep 2009 01:09:57 +0000 (01:09 +0000)]
remove unneeded assignment in inner loop. rematrixing bands are contiguous.

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

14 years agoPrefer -vcodec rawvideo over -vcodec huffyuv for lavfi regression
Stefano Sabatini [Tue, 29 Sep 2009 21:53:36 +0000 (21:53 +0000)]
Prefer -vcodec rawvideo over -vcodec huffyuv for lavfi regression
tests, as the use of huffyuv may cause the auto-insertion of a scale
filter, thus masking the mis-behavior of some filter.

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

14 years agoRemove disabled code cruft.
Diego Biurrun [Tue, 29 Sep 2009 21:08:33 +0000 (21:08 +0000)]
Remove disabled code cruft.

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

14 years agoFix md5 program invocation for BSD.
Michael Kostylev [Tue, 29 Sep 2009 19:49:04 +0000 (19:49 +0000)]
Fix md5 program invocation for BSD.
patch by Michael Kostylev, michael.kostylev gmail com

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

14 years agoUse context instead of NULL for logging.
Reimar Döffinger [Tue, 29 Sep 2009 19:18:51 +0000 (19:18 +0000)]
Use context instead of NULL for logging.

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

14 years agoMake sure that dv encoder initializes all encoded packet data.
Reimar Döffinger [Tue, 29 Sep 2009 19:17:18 +0000 (19:17 +0000)]
Make sure that dv encoder initializes all encoded packet data.
The specification does not say which value to use for unused
parts, so fill all unused bytes with 0xff, which is consistent
with what DV usually uses for reserved or unused parts.

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

14 years agocosmetics: K&R coding style, prettyprinting
Diego Biurrun [Tue, 29 Sep 2009 18:03:30 +0000 (18:03 +0000)]
cosmetics: K&R coding style, prettyprinting

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

14 years agoFix indentation in avcodec.h
Jason Garrett-Glaser [Tue, 29 Sep 2009 17:34:36 +0000 (17:34 +0000)]
Fix indentation in avcodec.h

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

14 years agoWMA: fix loop unrolling in decode_exp_vlc()
Måns Rullgård [Tue, 29 Sep 2009 12:48:24 +0000 (12:48 +0000)]
WMA: fix loop unrolling in decode_exp_vlc()

The count can be a non-multiple of 4 after all.

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

14 years agowhitespace cosmetics, prettyprinting, K&R coding style
Diego Biurrun [Tue, 29 Sep 2009 11:43:58 +0000 (11:43 +0000)]
whitespace cosmetics, prettyprinting, K&R coding style

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

14 years agoSimplify r20025: use align_get_bits instead of reimplementing it.
Reimar Döffinger [Tue, 29 Sep 2009 11:06:04 +0000 (11:06 +0000)]
Simplify r20025: use align_get_bits instead of reimplementing it.

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

14 years agoWMA: store level_table as floats, use type punning for sign flip in decode
Måns Rullgård [Tue, 29 Sep 2009 10:38:34 +0000 (10:38 +0000)]
WMA: store level_table as floats, use type punning for sign flip in decode

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

14 years agoWMA: use type punning and unroll loops in decode_exp_vlc()
Måns Rullgård [Tue, 29 Sep 2009 10:38:30 +0000 (10:38 +0000)]
WMA: use type punning and unroll loops in decode_exp_vlc()

GCC does stupid things if these assignments are done using floats
directly, so fill the runs using integer operations instead.  Also
unroll the loops since the length is always a multiple of 4.

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

14 years agoWMA: use a table instead of pow() in decode_exp_vlc
Måns Rullgård [Tue, 29 Sep 2009 10:38:27 +0000 (10:38 +0000)]
WMA: use a table instead of pow() in decode_exp_vlc

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

14 years agoSync AC3 probe values with MP3 probe values, they have to avoid similar issues.
Reimar Döffinger [Tue, 29 Sep 2009 10:23:47 +0000 (10:23 +0000)]
Sync AC3 probe values with MP3 probe values, they have to avoid similar issues.
This fixes ffmpeg-generated files with -acodec ac3 being detected as raw ac3
instead of MPEG.

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

14 years agoExtend DV autodetection to also reliably detect single-frame DVs with
Reimar Döffinger [Tue, 29 Sep 2009 10:12:18 +0000 (10:12 +0000)]
Extend DV autodetection to also reliably detect single-frame DVs with
a higher score that MAX/4.
It checks that there are at least 10 DIF headers and at least one per
24000 bytes, and if so considers the file reliably detected as DV.
Passes probetest, too.

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

14 years agoAdd id3v2 metadata conversion table and use it in mp3 muxer.
Anton Khirnov [Tue, 29 Sep 2009 07:05:03 +0000 (07:05 +0000)]
Add id3v2 metadata conversion table and use it in mp3 muxer.

Patch by Anton Khirnov, wyskas gmail

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

14 years agoMake sure all the bits are written to output in fax data decoder.
Kostya Shishkov [Tue, 29 Sep 2009 05:55:14 +0000 (05:55 +0000)]
Make sure all the bits are written to output in fax data decoder.
This fixes decoding TIFF images with fax compression and width being not
multiple of eight (and issue 1429).

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

14 years agosome more linebreak and brace placement cosmetics
Diego Biurrun [Mon, 28 Sep 2009 21:46:22 +0000 (21:46 +0000)]
some more linebreak and brace placement cosmetics

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

14 years agobrace placement and linebreak cosmetics
Diego Biurrun [Mon, 28 Sep 2009 21:13:47 +0000 (21:13 +0000)]
brace placement and linebreak cosmetics

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

14 years agoRefactor channel element configuration and mapping code into its own function
Robert Swain [Mon, 28 Sep 2009 15:37:18 +0000 (15:37 +0000)]
Refactor channel element configuration and mapping code into its own function
to allow reuse

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

14 years agoReindent after last commit
Robert Swain [Mon, 28 Sep 2009 15:35:51 +0000 (15:35 +0000)]
Reindent after last commit

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

14 years agoAAC: Add channel layout support for channel configuration as defined in the
Robert Swain [Mon, 28 Sep 2009 15:35:13 +0000 (15:35 +0000)]
AAC: Add channel layout support for channel configuration as defined in the
specification

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

14 years agocosmetics: reindent and reformat function declarations
Kostya Shishkov [Mon, 28 Sep 2009 05:19:13 +0000 (05:19 +0000)]
cosmetics: reindent and reformat function declarations

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

14 years agoFinally distinguish TIFF_CCITT_RLE and TIFF_G3 1-D case, so both of them
Kostya Shishkov [Mon, 28 Sep 2009 05:17:20 +0000 (05:17 +0000)]
Finally distinguish TIFF_CCITT_RLE and TIFF_G3 1-D case, so both of them
will be decoded correctly.
This fixes issue 1423.

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

14 years agoMake TIFF decoder load compression options only for corresponding codec
Kostya Shishkov [Mon, 28 Sep 2009 05:15:27 +0000 (05:15 +0000)]
Make TIFF decoder load compression options only for corresponding codec

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

14 years agoARM: NEON optimised vector_fmul_add
Måns Rullgård [Sun, 27 Sep 2009 16:52:05 +0000 (16:52 +0000)]
ARM: NEON optimised vector_fmul_add

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

14 years agocosmetics: fix indentation after previous commit
Måns Rullgård [Sun, 27 Sep 2009 16:52:00 +0000 (16:52 +0000)]
cosmetics: fix indentation after previous commit

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

14 years agoDrop unused args from vector_fmul_add_add, simpify code, and rename
Måns Rullgård [Sun, 27 Sep 2009 16:51:54 +0000 (16:51 +0000)]
Drop unused args from vector_fmul_add_add, simpify code, and rename

The src3 and step arguments to vector_fmul_add_add() are always zero
and one, respectively.  This removes these arguments from the function,
simplifies the code accordingly, and renames the function to better
match the new operation.

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

14 years agoRemove duplicated / stray code which slipped in with r20057.
Stefano Sabatini [Sun, 27 Sep 2009 10:29:24 +0000 (10:29 +0000)]
Remove duplicated / stray code which slipped in with r20057.

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

14 years agoGet rid of "function" "keywords" in lavfilter testing code, hopefully will
Reimar Döffinger [Sun, 27 Sep 2009 10:06:35 +0000 (10:06 +0000)]
Get rid of "function" "keywords" in lavfilter testing code, hopefully will
make regressions tests runnable again with all shells.

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

14 years agoDo not compile ZLib data uncompressing function in TIFF decoder when ZLib is
Martin Storsjö [Sun, 27 Sep 2009 09:43:11 +0000 (09:43 +0000)]
Do not compile ZLib data uncompressing function in TIFF decoder when ZLib is
not present.
Patch by Martin Storsjö
($firstname <at> $firstname <dot> two first letters of $lastname)

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

14 years agoImplement a lavfitest target for testing regressions in libavfilter.
Stefano Sabatini [Sun, 27 Sep 2009 09:33:37 +0000 (09:33 +0000)]
Implement a lavfitest target for testing regressions in libavfilter.
The target is disabled.

See the thread: "[PATCH] libavfilter-soc: regression test for libavfilter".

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

14 years agoWMAPRO: use vector_fmul_scalar from dsputil where possible
Måns Rullgård [Sun, 27 Sep 2009 08:16:50 +0000 (08:16 +0000)]
WMAPRO: use vector_fmul_scalar from dsputil where possible

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

14 years agoRearrange loop structure for approx. 35-50% faster calc_transform_coeffs_cpl()
Justin Ruggles [Sun, 27 Sep 2009 07:16:51 +0000 (07:16 +0000)]
Rearrange loop structure for approx. 35-50% faster calc_transform_coeffs_cpl()
depending on content.

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

14 years agoLooks like ZLib uncompress() cannot deal with some kinds of TIFF deflated data,
Kostya Shishkov [Sun, 27 Sep 2009 07:01:01 +0000 (07:01 +0000)]
Looks like ZLib uncompress() cannot deal with some kinds of TIFF deflated data,
so replace it with custom code.
This fixes issue 1419.

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

14 years agoMove variable declaration to inside of loop.
Justin Ruggles [Sun, 27 Sep 2009 06:38:57 +0000 (06:38 +0000)]
Move variable declaration to inside of loop.

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

14 years agoCosmetics: Rename some variables.
Justin Ruggles [Sun, 27 Sep 2009 06:38:13 +0000 (06:38 +0000)]
Cosmetics: Rename some variables.

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

14 years agoSimplify coupling band loop.
Justin Ruggles [Sun, 27 Sep 2009 06:33:23 +0000 (06:33 +0000)]
Simplify coupling band loop.

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

14 years agoRemove unneeded table lookup.
Justin Ruggles [Sun, 27 Sep 2009 06:16:49 +0000 (06:16 +0000)]
Remove unneeded table lookup.

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

14 years agoCosmetics: Rename some variables to be more descriptive of their use.
Justin Ruggles [Sun, 27 Sep 2009 06:13:01 +0000 (06:13 +0000)]
Cosmetics: Rename some variables to be more descriptive of their use.

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

14 years agoMove some variable declarations to inside of loops.
Justin Ruggles [Sun, 27 Sep 2009 06:10:36 +0000 (06:10 +0000)]
Move some variable declarations to inside of loops.

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

14 years agoRemove unneeded variable.
Justin Ruggles [Sun, 27 Sep 2009 06:01:32 +0000 (06:01 +0000)]
Remove unneeded variable.

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

14 years agoCosmetics: Rename some variables to be more descriptive of their use.
Justin Ruggles [Sun, 27 Sep 2009 05:48:03 +0000 (05:48 +0000)]
Cosmetics: Rename some variables to be more descriptive of their use.

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

14 years agoRemove some unneeded variables.
Justin Ruggles [Sun, 27 Sep 2009 05:39:57 +0000 (05:39 +0000)]
Remove some unneeded variables.

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

14 years agoCosmetics: Rename some variables
Justin Ruggles [Sun, 27 Sep 2009 05:36:52 +0000 (05:36 +0000)]
Cosmetics: Rename some variables

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

14 years agosimplify 2 lines into 1 using FFMIN
Justin Ruggles [Sun, 27 Sep 2009 04:57:36 +0000 (04:57 +0000)]
simplify 2 lines into 1 using FFMIN

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

14 years agoCosmetics: Do some basic pretty-printing.
Justin Ruggles [Sun, 27 Sep 2009 04:55:37 +0000 (04:55 +0000)]
Cosmetics: Do some basic pretty-printing.

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

14 years agoSimplify by combining increment with array access.
Justin Ruggles [Sun, 27 Sep 2009 04:47:38 +0000 (04:47 +0000)]
Simplify by combining increment with array access.

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

14 years agocosmetics: Rename some variables to be more descriptive of their use. Do some
Justin Ruggles [Sun, 27 Sep 2009 04:46:56 +0000 (04:46 +0000)]
cosmetics: Rename some variables to be more descriptive of their use. Do some
pretty-printing as well.

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

14 years agoMove 2 variable declarations to inside of loop.
Justin Ruggles [Sun, 27 Sep 2009 04:41:05 +0000 (04:41 +0000)]
Move 2 variable declarations to inside of loop.

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

14 years agosimplify by combining increment with array access
Justin Ruggles [Sun, 27 Sep 2009 04:37:00 +0000 (04:37 +0000)]
simplify by combining increment with array access

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

14 years agoRemove unneeded variable
Justin Ruggles [Sun, 27 Sep 2009 04:32:31 +0000 (04:32 +0000)]
Remove unneeded variable

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

14 years agoHardcode AC-3 critical band tables when CONFIG_HARDCODED_TABLES is set.
Justin Ruggles [Sun, 27 Sep 2009 04:07:49 +0000 (04:07 +0000)]
Hardcode AC-3 critical band tables when CONFIG_HARDCODED_TABLES is set.

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

14 years agoAdd a -loglevel command line option to ffserver.
Stefano Sabatini [Sat, 26 Sep 2009 23:30:41 +0000 (23:30 +0000)]
Add a -loglevel command line option to ffserver.

The -loglevel option makes possible to set the logging level used by
the libav* libraries.

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

14 years agosimplify format string for writing pix_fmt string.
Justin Ruggles [Sat, 26 Sep 2009 22:54:29 +0000 (22:54 +0000)]
simplify format string for writing pix_fmt string.

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

14 years ago100l, typo
Baptiste Coudurier [Sat, 26 Sep 2009 21:06:18 +0000 (21:06 +0000)]
100l, typo

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

14 years agoExport mov/mp4 major and compatible brands as metadata.
haim alon [Sat, 26 Sep 2009 20:51:38 +0000 (20:51 +0000)]
Export mov/mp4 major and compatible brands as metadata.
Patch by haim alon, haim dot alter at gmail dot com

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

14 years agoARM: NEON optimised vector_clipf
Måns Rullgård [Sat, 26 Sep 2009 19:55:21 +0000 (19:55 +0000)]
ARM: NEON optimised vector_clipf

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

14 years agoWMA: remove some unused variables
Måns Rullgård [Sat, 26 Sep 2009 19:23:27 +0000 (19:23 +0000)]
WMA: remove some unused variables

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

14 years agoARM: NEON optimised vector_fmul_reverse
Måns Rullgård [Sat, 26 Sep 2009 19:23:25 +0000 (19:23 +0000)]
ARM: NEON optimised vector_fmul_reverse

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

14 years agoDocument the -loglevel option in the ffmpeg man page.
Stefano Sabatini [Sat, 26 Sep 2009 17:21:22 +0000 (17:21 +0000)]
Document the -loglevel option in the ffmpeg man page.

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

14 years agoAdd a -loglevel command line option to ffplay.
Stefano Sabatini [Sat, 26 Sep 2009 17:18:02 +0000 (17:18 +0000)]
Add a -loglevel command line option to ffplay.

The -loglevel option makes possible to set the logging level used by
the libav* libraries.

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

14 years agoSpecify maximum sample rate of MLP by defining the factor relative to 48000
Reimar Döffinger [Sat, 26 Sep 2009 16:04:35 +0000 (16:04 +0000)]
Specify maximum sample rate of MLP by defining the factor relative to 48000
instead of directly.
This makes clear that the code assumes the maximum sample rate to be
a multiple of 48000 and also removes the division from the MAX_BLOCKSIZE
macros, which causes an issue with the Solaris assembler where "/" is
a comment marker unless the --divide option is used.

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

14 years agoFix decoding of TIFF CCITT RLE compressed data.
Kostya Shishkov [Sat, 26 Sep 2009 05:48:50 +0000 (05:48 +0000)]
Fix decoding of TIFF CCITT RLE compressed data.
This fixes issue 1417.

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

14 years agoAlign pix_fmt list by allowing one more char for the pix_fmt name.
Justin Ruggles [Fri, 25 Sep 2009 01:31:53 +0000 (01:31 +0000)]
Align pix_fmt list by allowing one more char for the pix_fmt name.

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

14 years agoRemove ff_realloc_static, it is no longer used and since it was declared
Reimar Döffinger [Thu, 24 Sep 2009 22:39:47 +0000 (22:39 +0000)]
Remove ff_realloc_static, it is no longer used and since it was declared
static there is no reason to wait for a major version bump, removing
it does not change ABI in any way, not even the non-public one.

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

14 years agoReindent.
Reimar Döffinger [Thu, 24 Sep 2009 22:37:34 +0000 (22:37 +0000)]
Reindent.

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

14 years agoRemove a piece of code left-over from the removed alloc'd static vlc table code.
Reimar Döffinger [Thu, 24 Sep 2009 22:36:52 +0000 (22:36 +0000)]
Remove a piece of code left-over from the removed alloc'd static vlc table code.

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

14 years agoReindent code folowing previous commit (r20019)
Vitor Sessak [Thu, 24 Sep 2009 21:26:35 +0000 (21:26 +0000)]
Reindent code folowing previous commit (r20019)

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

14 years agoFactorize duplicated code in at1_imdct_block()
Vitor Sessak [Thu, 24 Sep 2009 21:24:58 +0000 (21:24 +0000)]
Factorize duplicated code in at1_imdct_block()

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

14 years agoAllow decoding of 625/50 (PAL) with video_stype==1.
Maksym Veremeyenko [Thu, 24 Sep 2009 19:37:41 +0000 (19:37 +0000)]
Allow decoding of 625/50 (PAL) with video_stype==1.

Patch by Maksym Veremeyenko, verem m1stereo tv

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

14 years agoFix reading VDR files (broken since r19000).
Carl Eugen Hoyos [Thu, 24 Sep 2009 19:20:53 +0000 (19:20 +0000)]
Fix reading VDR files (broken since r19000).

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

14 years agoSupport both LSB and MSB orders for TIFF CCITT G.x compressed data.
Kostya Shishkov [Thu, 24 Sep 2009 18:30:28 +0000 (18:30 +0000)]
Support both LSB and MSB orders for TIFF CCITT G.x compressed data.
This fixes issue 1410.

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

14 years agoCheck if a git-svn revision number is available to try to get better version
Alex Converse [Thu, 24 Sep 2009 16:54:26 +0000 (16:54 +0000)]
Check if a git-svn revision number is available to try to get better version
information from git.

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

14 years agoFix possible buffer over-read in vorbis_comment, fix it double to be sure.
Reimar Döffinger [Thu, 24 Sep 2009 15:37:09 +0000 (15:37 +0000)]
Fix possible buffer over-read in vorbis_comment, fix it double to be sure.
First, make s signed, so that comparisons against end - p will not be made as
unsigned, making the check incorrectly pass if p is beyond end.
Also ensure that p will never be > end, so the code is correct also if
buf is not padded.

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

14 years agoCompletely remove INIT_VLC_USE_STATIC, it is deprecated since ages and
Reimar Döffinger [Thu, 24 Sep 2009 15:13:34 +0000 (15:13 +0000)]
Completely remove INIT_VLC_USE_STATIC, it is deprecated since ages and
finally no longer used anywhere.

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

14 years agoReplace last use of INIT_VLC_USE_STATIC by INIT_VLC_USE_NEW_STATIC in svq1dec
Reimar Döffinger [Thu, 24 Sep 2009 15:12:05 +0000 (15:12 +0000)]
Replace last use of INIT_VLC_USE_STATIC by INIT_VLC_USE_NEW_STATIC in svq1dec

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

14 years agoChange VLC table creation in x8_vlc_init to use INIT_VLC_USE_NEW_STATIC.
Reimar Döffinger [Thu, 24 Sep 2009 11:04:46 +0000 (11:04 +0000)]
Change VLC table creation in x8_vlc_init to use INIT_VLC_USE_NEW_STATIC.

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

14 years agoUse ff_msmpeg4_decode_init to initialize ff_msmp4_mb_i_vlc since static
Reimar Döffinger [Thu, 24 Sep 2009 10:49:47 +0000 (10:49 +0000)]
Use ff_msmpeg4_decode_init to initialize ff_msmp4_mb_i_vlc since static
VLC tables should only be initialized from one place.
This initializes/calculates more VLC tables than necessary for VC1 decoding,
but this is only done once and only a small overhead in time and space (maybe
30 kB) it seems not worth adding a separate function.

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

14 years agoUse INIT_VLC_STATIC where easily possible in svq1dec
Reimar Döffinger [Thu, 24 Sep 2009 09:44:51 +0000 (09:44 +0000)]
Use INIT_VLC_STATIC where easily possible in svq1dec

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

14 years agoMake sure that all memory allocations succeed.
Mike Melanson [Thu, 24 Sep 2009 06:33:16 +0000 (06:33 +0000)]
Make sure that all memory allocations succeed.
Based on 28_theora_malloc_checks.patch from the Google Chrome team.

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

14 years agoTake into account real number of colours when reading BMP palette.
Kostya Shishkov [Thu, 24 Sep 2009 05:24:46 +0000 (05:24 +0000)]
Take into account real number of colours when reading BMP palette.
This fixes issue 1408

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

14 years agoid3v2: Add support for UTF-16 encoding.
Anton Khirnov [Wed, 23 Sep 2009 18:22:00 +0000 (18:22 +0000)]
id3v2: Add support for UTF-16 encoding.
patch by Anton Khirnov, wyskas gmail com

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

14 years agoid3v2: Use 0 instead of '\0'.
Anton Khirnov [Wed, 23 Sep 2009 18:10:29 +0000 (18:10 +0000)]
id3v2: Use 0 instead of '\0'.
patch by Anton Khirnov, wyskas gmail com

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

14 years agoid3v2: check for enough space to write full UTF-8 characters.
Anton Khirnov [Wed, 23 Sep 2009 18:04:40 +0000 (18:04 +0000)]
id3v2: check for enough space to write full UTF-8 characters.
patch by Anton Khirnov, wyskas gmail com

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

14 years agoFix format string to match the types printed.
Reimar Döffinger [Wed, 23 Sep 2009 15:30:38 +0000 (15:30 +0000)]
Fix format string to match the types printed.

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

14 years agoMake sure priv_data is freed and codec is set to NULL in case of failure of avcodec_o...
Michael Niedermayer [Wed, 23 Sep 2009 15:16:36 +0000 (15:16 +0000)]
Make sure priv_data is freed and codec is set to NULL in case of failure of avcodec_open().

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

14 years agoCheck submap indexes.
Google Chrome [Wed, 23 Sep 2009 14:19:17 +0000 (14:19 +0000)]
Check submap indexes.
10_vorbis_submap_indexes.patch by chrome.
I am applying this even though Reimar had some comments to improve it as it fixes
a serious security issue and I do not want to leave such things unfixed.

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

14 years agoARM: NEON optimised int32_to_float_fmul_scalar
Måns Rullgård [Wed, 23 Sep 2009 13:52:56 +0000 (13:52 +0000)]
ARM: NEON optimised int32_to_float_fmul_scalar

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

14 years agoAAC: minor simplification in PNS decoding
Måns Rullgård [Wed, 23 Sep 2009 13:52:53 +0000 (13:52 +0000)]
AAC: minor simplification in PNS decoding

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

14 years agoconfigure: fix tms470 flag mapping for soft-float
Måns Rullgård [Wed, 23 Sep 2009 13:52:50 +0000 (13:52 +0000)]
configure: fix tms470 flag mapping for soft-float

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