Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-16ac3: validate end in ff_ac3_bit_alloc_calc_maskAndreas Cadhalpun
This fixes an invalid read if end is 0: band_end = ff_ac3_bin_to_band_tab[end-1] + 1; Depending on what is before the array, this can cause stack smashing, when band_end becomes too large. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-15avcodec/ac3: Fix undefined shift in ff_ac3_bit_alloc_calc_mask()Michael Niedermayer
Found-by: Clang -fsanitize=shift Reported-by: Thierry Foucu <tfoucu@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-18Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: ac3dec: fix processing of delta bit allocation information. vc1: fix fate-vc1 after previous commit. wmv3dec: fix playback of complex WMV3 files using simple_idct. make av_dup_packet() more cautious on allocation failures make containers pass palette change in AVPacket introduce side information for AVPacket Politic commits that have not been pulled: Update regtest checksums after revision 6001dad. Replace more FFmpeg references by Libav. Replace references to ffmpeg-devel with libav-devel; fix roundup URL. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-17ac3dec: fix processing of delta bit allocation information.Justin Ruggles
The number of dba segments is the coded value + 1. The coupling dba offset starts at the first coupling band, not at zero.
2011-03-30Merge remote-tracking branch 'newdev/master'Michael Niedermayer
* newdev/master: ac3enc: move compute_mantissa_size() to ac3dsp ac3enc: move mant*_cnt and qmant*_ptr out of AC3EncodeContext Remove support for stripping executables ac3enc: NEON optimised float_to_fixed24 ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp dfa: protect pointer range checks against overflows. Duplicate: mimic: implement multithreading. Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-03-29ac3: move ff_ac3_bit_alloc_calc_bap to ac3dspMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-28Add ff_ prefix to ac3_common_init().Justin Ruggles
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 4c57cde942b3d28074d0bb06e2ca200bc1098f22)
2011-01-28ac3: Remove ff_ac3_critical_band_size_tab.Justin Ruggles
It is only used to generate band_start_tab, which about the same size, at runtime, so it's simpler just to always hardcode band_start_tab. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 24e3ad3031fa26e12d4b939f0ff0dd6e12f05ef5)
2011-01-26Add ff_ prefix to ac3_common_init().Justin Ruggles
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-26ac3: Remove ff_ac3_critical_band_size_tab.Justin Ruggles
It is only used to generate band_start_tab, which about the same size, at runtime, so it's simpler just to always hardcode band_start_tab. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-26Move ff_ac3_critical_band_size_tab in ac3.c for non-hardcoded tables.Diego Elio Pettenò
This symbol is only ever used to calculate the non-hardcoded tables, so only enable it in that case, and static to the source unit that uses it. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 6ed3b504f984dc6cefde8d57a57726f9d30e5033)
2011-01-26Remove unused ac3_parametric_bit_allocation function.Diego Elio Pettenò
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 362bfe29971b3bb8497d2b341337697be15a257c)
2011-01-25Move ff_ac3_critical_band_size_tab in ac3.c for non-hardcoded tables.Diego Elio Pettenò
This symbol is only ever used to calculate the non-hardcoded tables, so only enable it in that case, and static to the source unit that uses it. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-25Remove unused ac3_parametric_bit_allocation function.Diego Elio Pettenò
Signed-off-by: Mans Rullgard <mans@mansr.com>
2010-12-14Use AC3_MAX_COEFS instead of 256 in a couple places in ac3.cJustin Ruggles
Originally committed as revision 25968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-14define AC3_CRITICAL_BANDS and use it in the AC-3 encoder and decoder.Justin Ruggles
Originally committed as revision 25967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-30Fix grammar errors in documentationMåns Rullgård
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20Remove explicit filename from Doxygen @file commands.Diego Biurrun
Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-14Change code so it uses 2 adds instead of one FFABS.Reimar Döffinger
About 1% faster ff_ac3_bit_alloc_calc_psd on Intel Atom, overall speedup not measurable though. Should have a bigger effect on systems without cmov or with very slow cmov. Originally committed as revision 21214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03Simplify AC-3 critical band end calculation (correctly this time).Justin Ruggles
Originally committed as revision 20438 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-11-03Revert r20050, which caused decoding errors with at least one valid AC-3 file.Justin Ruggles
Originally committed as revision 20437 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27Remove unneeded table lookup.Justin Ruggles
Originally committed as revision 20050 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27Cosmetics: Rename some variables to be more descriptive of their use.Justin Ruggles
Originally committed as revision 20049 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27Move some variable declarations to inside of loops.Justin Ruggles
Originally committed as revision 20048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27Remove unneeded variable.Justin Ruggles
Originally committed as revision 20047 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27Cosmetics: Rename some variables to be more descriptive of their use.Justin Ruggles
Originally committed as revision 20046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27Remove some unneeded variables.Justin Ruggles
Originally committed as revision 20045 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27Cosmetics: Rename some variablesJustin Ruggles
Originally committed as revision 20044 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27simplify 2 lines into 1 using FFMINJustin Ruggles
Originally committed as revision 20043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27Cosmetics: Do some basic pretty-printing.Justin Ruggles
Originally committed as revision 20042 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27Simplify by combining increment with array access.Justin Ruggles
Originally committed as revision 20041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27cosmetics: Rename some variables to be more descriptive of their use. Do someJustin Ruggles
pretty-printing as well. Originally committed as revision 20040 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27Move 2 variable declarations to inside of loop.Justin Ruggles
Originally committed as revision 20039 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27simplify by combining increment with array accessJustin Ruggles
Originally committed as revision 20038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27Remove unneeded variableJustin Ruggles
Originally committed as revision 20037 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27Hardcode AC-3 critical band tables when CONFIG_HARDCODED_TABLES is set.Justin Ruggles
Originally committed as revision 20036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13Rename bitstream.h to get_bits.h.Stefano Sabatini
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-01Use full internal pathname in doxygen @file directives.Diego Biurrun
Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-19cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-08cosmetics: alignment after last commitJustin Ruggles
Originally committed as revision 16035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-08ac3: detect dba errors and prevent writing past end of arrayJustin Ruggles
Originally committed as revision 16034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-03cosmetics: make all references to AC-3 capitalized and hyphenatedJustin Ruggles
Originally committed as revision 14523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-08pass bap table to ff_ac3_bit_alloc_calc_bap()Justin Ruggles
Originally committed as revision 13694 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-04prevent crash when dba params are invalidJustin Ruggles
Originally committed as revision 13653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09cosmetics: rename ac3 bit allocation variablesJustin Ruggles
Originally committed as revision 11194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09cosmetics: rename ac3 tablesJustin Ruggles
Originally committed as revision 11193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-15move some common values to ac3.h and utilize themJustin Ruggles
Originally committed as revision 9679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26move ac3 tables from a .h to a .cAurelien Jacobs
Originally committed as revision 8816 to svn://svn.ffmpeg.org/ffmpeg/trunk