libav.git
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

10 years agoPerform the DC prediction reversal immediately after decoding all of
Mike Melanson [Tue, 22 Sep 2009 15:58:08 +0000 (15:58 +0000)]
Perform the DC prediction reversal immediately after decoding all of
the DC coefficients. This has a greater probability of leveraging the
coefficients while they are still cached.

When testing with the Big Buck Bunny 1080p video, I consistently saw
improvements of 500k-600k dezicycles per run (through
reverse_dc_prediction()) thanks to this move.

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

10 years agoFix METEOR vs. BKTR typo, noticed by Steve O'Hara-Smith, steve sohara org.
Diego Biurrun [Tue, 22 Sep 2009 14:44:44 +0000 (14:44 +0000)]
Fix METEOR vs. BKTR typo, noticed by Steve O'Hara-Smith, steve sohara org.

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

10 years agoReplace manual gcc version check by AV_GCC_VERSION_AT_LEAST macro.
Diego Biurrun [Tue, 22 Sep 2009 14:38:49 +0000 (14:38 +0000)]
Replace manual gcc version check by AV_GCC_VERSION_AT_LEAST macro.

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

10 years agoPlace MP3 demuxer code under appropriate #ifdefs.
Diego Biurrun [Tue, 22 Sep 2009 12:39:19 +0000 (12:39 +0000)]
Place MP3 demuxer code under appropriate #ifdefs.
Fixes compilation with --disable-optimizations --disable-demuxers.

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

10 years agoImprove compiler information code to print to the console on program startup.
Diego Biurrun [Tue, 22 Sep 2009 12:23:14 +0000 (12:23 +0000)]
Improve compiler information code to print to the console on program startup.
Remove gcc-specific hacks and allow filling relevant information for non-gcc
compilers in configure.

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

10 years agoPrint compiler version and build date before configuration in console output.
Diego Biurrun [Tue, 22 Sep 2009 12:21:06 +0000 (12:21 +0000)]
Print compiler version and build date before configuration in console output.

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

10 years agoRearrange wav_muxer and {wav|w64}_demuxer blocks to be under proper #ifdefs.
Diego Biurrun [Tue, 22 Sep 2009 11:19:36 +0000 (11:19 +0000)]
Rearrange wav_muxer and {wav|w64}_demuxer blocks to be under proper #ifdefs.
Fixes compilation with --disable-optimizations --disable-demuxers.

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

10 years agoThe W64 demuxer depends on the WAV demuxer.
Diego Biurrun [Tue, 22 Sep 2009 11:17:29 +0000 (11:17 +0000)]
The W64 demuxer depends on the WAV demuxer.

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

10 years agoMove find_guid function and guid_data array to a globally available place.
Diego Biurrun [Tue, 22 Sep 2009 10:31:29 +0000 (10:31 +0000)]
Move find_guid function and guid_data array to a globally available place.
Fixes compilation with --disable-optimizations --disable-demuxer=w64.

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

10 years agoAAC: Simplify some logic from r19956. (The escape codebook is unsigned.)
Alex Converse [Tue, 22 Sep 2009 01:34:42 +0000 (01:34 +0000)]
AAC: Simplify some logic from r19956. (The escape codebook is unsigned.)

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

10 years agoARM: NEON optimisations for some dsputil functions
Måns Rullgård [Tue, 22 Sep 2009 00:48:48 +0000 (00:48 +0000)]
ARM: NEON optimisations for some dsputil functions

NEON versions of the following functions are added:

  vector_fmul_scalar
  vector_fmul_sv_scalar
  sv_fmul_scalar
  butterflies_float

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

10 years agoAAC: use new dsputil functions
Måns Rullgård [Tue, 22 Sep 2009 00:48:45 +0000 (00:48 +0000)]
AAC: use new dsputil functions

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