ffmpeg.git
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 years agoMake error return sign consistent.
Michael Niedermayer [Wed, 23 Sep 2009 13:18:29 +0000 (13:18 +0000)]
Make error return sign consistent.

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

10 years agoCheck begin/end/partition_size.
Google Chrome [Wed, 23 Sep 2009 13:08:48 +0000 (13:08 +0000)]
Check begin/end/partition_size.
23_vorbis_sane_partition.patch by chrome.
Also this should be better documented but i prefer not to leave potential
security issues open due to missing documentation.

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

10 years agoFix >= vs > check of coded_fragment_list_index.
Google Chrome [Wed, 23 Sep 2009 12:42:12 +0000 (12:42 +0000)]
Fix >= vs > check of coded_fragment_list_index.
22_fix_theora_frag_fencepost.patch by chrome

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

10 years agoRemove unused variables, fixes the warnings:
Diego Biurrun [Wed, 23 Sep 2009 12:29:56 +0000 (12:29 +0000)]
Remove unused variables, fixes the warnings:
libavcodec/wmadec.c:629: warning: unused variable `i'
libavcodec/wmadec.c:628: warning: unused variable `b'
libavcodec/wmadec.c:628: warning: unused variable `a'

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

10 years agoFix init_get_bits() buffer size.
Google Chrome [Wed, 23 Sep 2009 12:27:10 +0000 (12:27 +0000)]
Fix init_get_bits() buffer size.
18_fix_theora_header_bit_len.patch by chrome

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

10 years agoCheck res_setup->books.
Google Chrome [Wed, 23 Sep 2009 12:24:21 +0000 (12:24 +0000)]
Check  res_setup->books.
15_more_residue_book_indexes.patch by chrome.

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

10 years agoCheck masterbook index and subclass book index.
Google Chrome [Wed, 23 Sep 2009 12:17:54 +0000 (12:17 +0000)]
Check masterbook index and subclass book index.
14_floor_masterbook_index.patch by chrome

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

10 years agoAdd checks for per-packet mode indexes and per-header mode mapping indexes.
Google Chrome [Wed, 23 Sep 2009 12:09:33 +0000 (12:09 +0000)]
Add checks for per-packet mode indexes and per-header mode mapping indexes.
12_vorbis_mode_indexes.patch by chrome
maybe exploitable

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

10 years agoCheck classbook value.
Google Chrome [Wed, 23 Sep 2009 12:02:31 +0000 (12:02 +0000)]
Check classbook value.
11_vorbis_residue_book_index.patch by chrome.

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

10 years agoSet data_size to 0 to avoid having it uninitialized.
Michael Niedermayer [Wed, 23 Sep 2009 11:44:30 +0000 (11:44 +0000)]
Set data_size to 0 to avoid having it uninitialized.
based on 31_mp3_outlen.patch by chrome.

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

10 years agoCheck data_size in decode_frame_mp3on4().
Michael Niedermayer [Wed, 23 Sep 2009 11:33:44 +0000 (11:33 +0000)]
Check data_size in decode_frame_mp3on4().

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

10 years agocheck data_size in decode_frame()
Michael Niedermayer [Wed, 23 Sep 2009 11:29:38 +0000 (11:29 +0000)]
check data_size in decode_frame()

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

10 years agoARM: improve armcc detection
Måns Rullgård [Wed, 23 Sep 2009 10:48:58 +0000 (10:48 +0000)]
ARM: improve armcc detection

Apparently some versions of armcc do not identify as RVCT.  This
changes the test to a string used by all versions.

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

10 years agoFix book_idx check.
Google Chrome [Wed, 23 Sep 2009 10:45:14 +0000 (10:45 +0000)]
Fix book_idx check.
25_vorbis_floor0_index.patch by chrome.

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

10 years agoSanity checks for magnitude and angle.
Google Chrome [Wed, 23 Sep 2009 10:40:33 +0000 (10:40 +0000)]
Sanity checks for magnitude and angle.
26_vorbis_mag_angle_index.patch by chrome

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

10 years ago= -> == typo.
Google Chrome [Wed, 23 Sep 2009 10:33:49 +0000 (10:33 +0000)]
= -> == typo.
27_vorbis_residue_loop_error.patch by chrome

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

10 years agoWMA: use DSPContext.butterflies_float
Måns Rullgård [Wed, 23 Sep 2009 10:33:13 +0000 (10:33 +0000)]
WMA: use DSPContext.butterflies_float

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

10 years agoCosmetics: Fix typo.
Carl Eugen Hoyos [Wed, 23 Sep 2009 10:07:29 +0000 (10:07 +0000)]
Cosmetics: Fix typo.

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

10 years agoCheck num_units_in_tick/time_scale to be valid and within the range we support.
Michael Niedermayer [Wed, 23 Sep 2009 09:58:44 +0000 (09:58 +0000)]
Check num_units_in_tick/time_scale to be valid and within the range we support.
based on a patch by chrome

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

10 years agoCorrectly print number of remaining bytes in oggparsevorbis instead of always
Reimar Döffinger [Wed, 23 Sep 2009 09:18:23 +0000 (09:18 +0000)]
Correctly print number of remaining bytes in oggparsevorbis instead of always
with inverted sign.

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

10 years agoAdd support for new x264 API.
Jason Garrett-Glaser [Wed, 23 Sep 2009 09:03:26 +0000 (09:03 +0000)]
Add support for new x264 API.

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

10 years agoCheck dimensions against 0 too.
Michael Niedermayer [Wed, 23 Sep 2009 08:35:29 +0000 (08:35 +0000)]
Check dimensions against 0 too.
39_vorbis_zero_dims.patch from chrome

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

10 years agoCheck validity of channels & samplerate.
Michael Niedermayer [Wed, 23 Sep 2009 07:46:51 +0000 (07:46 +0000)]
Check validity of channels & samplerate.
This may be security relevant.
Based on 2 patches by chrome.

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

10 years agoAnother micro-optimization for unpack_vlcs(): Eliminate a possible
Mike Melanson [Wed, 23 Sep 2009 05:38:12 +0000 (05:38 +0000)]
Another micro-optimization for unpack_vlcs(): Eliminate a possible
branch and save around 45k-55k dezicycles per function run.

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

10 years agoCheck codec_id and codec_type in avcodec_open(), based on 43_codec_type_mismatch...
Michael Niedermayer [Tue, 22 Sep 2009 22:44:56 +0000 (22:44 +0000)]
Check codec_id and codec_type in avcodec_open(), based on 43_codec_type_mismatch.patch from chrome
This is said to be able to lead to a stack based buffer overflow.

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

10 years agoSet compiler version string for supported non-gcc compilers
Måns Rullgård [Tue, 22 Sep 2009 20:38:03 +0000 (20:38 +0000)]
Set compiler version string for supported non-gcc compilers

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

10 years agoARM: NEON optimised scalarproduct_float
Måns Rullgård [Tue, 22 Sep 2009 20:37:55 +0000 (20:37 +0000)]
ARM: NEON optimised scalarproduct_float

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

10 years agoAAC: 10l: fix PNS decoding
Måns Rullgård [Tue, 22 Sep 2009 19:31:01 +0000 (19:31 +0000)]
AAC: 10l: fix PNS decoding

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

10 years agoHook up the MD studio demuxer and Atrac1 decoder.
Benjamin Larsson [Tue, 22 Sep 2009 17:28:03 +0000 (17:28 +0000)]
Hook up the MD studio demuxer and Atrac1 decoder.

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

10 years agoMention SDDS so search engines will pick it up for when someone
Benjamin Larsson [Tue, 22 Sep 2009 17:05:19 +0000 (17:05 +0000)]
Mention SDDS so search engines will pick it up for when someone
needs to decode the SDDS tracks found on 35 mm movies.

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

10 years agoUse ff_sine_32 in atrac1.
Benjamin Larsson [Tue, 22 Sep 2009 17:03:28 +0000 (17:03 +0000)]
Use ff_sine_32 in atrac1.

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