5a35bd92ad 
								
							
								 
							
						 
						
							
							
								
								cook: check subacket count  
							
							Fixes out of array writes.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b5d2bf964b 
								
							
								 
							
						 
						
							
							
								
								cook: Make constants passed to AV_BE2NE32C() unsigned to avoid signed overflow.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a92be9b856 
								
							
								 
							
						 
						
							
							
								
								Replace memset(0) by zero initializations.  
							
							Also remove one pointless zero initialization in rangecoder.c. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								97e48b2f54 
								
							
								 
							
						 
						
							
							
								
								cook: error out on quant_index values outside [-63, 63] range.  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								442c3a8cb1 
								
							
								 
							
						 
						
							
							
								
								cook: expand dither_tab[], and make sure indexes into it don't overflow.  
							
							Fixes overflows in accessing dither_tab[].
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f7b57add8e 
								
							
								 
							
						 
						
							
							
								
								cook: tighten the quant_index_table range further.  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								37cc8600d0 
								
							
								 
							
						 
						
							
							
								
								cook: extend channel uncoupling tables so the full bit range is covered.  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3a5836038d 
								
							
								 
							
						 
						
							
							
								
								cook: silence some signed overflow warnings.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7048036db 
								
							
								 
							
						 
						
							
							
								
								cook: fix return statements.  
							
							Found-by: cbsrobot
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ccb76ad91f 
								
							
								 
							
						 
						
							
							
								
								cook: check decouple values.  
							
							This fixes a out of global array read in the cplscale* tables.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d629f3edaa 
								
							
								 
							
						 
						
							
							
								
								cook: check that category is smaller than 8  
							
							This fixes some out of global array accesses of dither_tab.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Reviewed-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								51defefa85 
								
							
								 
							
						 
						
							
							
								
								cook: avoid out of global array read.  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf72c0410d 
								
							
								 
							
						 
						
							
							
								
								cook: add const to quant_index_table of categorize()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								941fc1ea1e 
								
							
								 
							
						 
						
							
							
								
								cook: prevent div-by-zero if channels is zero.  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e96b4a53df 
								
							
								 
							
						 
						
							
							
								
								vlc/rl: Add ff_ prefix to the nonstatic symbols  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3513477bb 
								
							
								 
							
						 
						
							
							
								
								cook: K&R formatting cosmetics  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0eea212943 
								
							
								 
							
						 
						
							
							
								
								Add avcodec_decode_audio4().  
							
							Deprecate avcodec_decode_audio3().
Implement audio support in avcodec_default_get_buffer().
Implement the new audio decoder API in all audio decoders. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b7581b5c83 
								
							
								 
							
						 
						
							
							
								
								cook: use a table for xor key rotation  
							
							This is simpler and avoids an invalid shift by 32 in the
aligned case.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								51f316a997 
								
							
								 
							
						 
						
							
							
								
								cook: fix apparent typo in extradata parsing  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								554caed2d3 
								
							
								 
							
						 
						
							
							
								
								cook: fix apparent typo in extradata parsing  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c353eb8e3 
								
							
								 
							
						 
						
							
							
								
								cook: return AVERROR_PATCHWELCOME instead of ENOTSUP  
							
							ENOTSUP is not defined on some systems 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e34c6c9708 
								
							
								 
							
						 
						
							
							
								
								cook: check output buffer size before decoding  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6631294c26 
								
							
								 
							
						 
						
							
							
								
								cook: do not needlessly set *data_size to 0  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b277ebd508 
								
							
								 
							
						 
						
							
							
								
								cook: remove pointless return statements  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9c841e231 
								
							
								 
							
						 
						
							
							
								
								cook: simplify decouple_info()  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f193c96f49 
								
							
								 
							
						 
						
							
							
								
								cook: return appropriate error codes instead of -1  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e694831f9d 
								
							
								 
							
						 
						
							
							
								
								cook: avoid hardcoded sizes in sizeof()  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								776e9815a5 
								
							
								 
							
						 
						
							
							
								
								cook: remove unneeded #includes  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c25df22365 
								
							
								 
							
						 
						
							
							
								
								cook: output float samples instead of converting to int16  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3a742470a8 
								
							
								 
							
						 
						
							
							
								
								cook: Fix js_vlc_bits value validation for joint stereo  
							
							Signed-off-by: Janne Grunau <janne-libav@jannau.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								352c878de6 
								
							
								 
							
						 
						
							
							
								
								Fix js_vlc_bits value validation when joint stereo is used in cook decoder.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff993cd7fc 
								
							
								 
							
						 
						
							
							
								
								doxygen: Drop array size declarations from Doxygen parameter names.  
							
							Adding [] to a Doxygen parameter name clashes with Doxygen syntax. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b27565b143 
								
							
								 
							
						 
						
							
							
								
								Remove statements immediately following unconditional jumps  
							
							This removes a number of compiler warnings.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f190f676bc 
								
							
								 
							
						 
						
							
							
								
								Replace custom DEBUG preprocessor trickery by the standard one.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb52cf8267 
								
							
								 
							
						 
						
							
							
								
								cook: Remove non-compiling debug output.  
							
							random_state was changed from an int to a struct and can no longer be printed
as easily as before. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								752207e36b 
								
							
								 
							
						 
						
							
							
								
								cook: Remove unused debug functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d35fa520e 
								
							
								 
							
						 
						
							
							
								
								Add AVX FFT implementation.  
							
							Signed-off-by: Reinhard Tartler <siretart@tauware.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62582a696b 
								
							
								 
							
						 
						
							
							
								
								cook: Fix small typo in av_log_ask_for_sample message.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9dee728b8 
								
							
								 
							
						 
						
							
							
								
								Use av_log_ask_for_sample() to request samples from users.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70fb031ce2 
								
							
								 
							
						 
						
							
							
								
								Use av_log_ask_for_sample() where appropriate.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4538729afe 
								
							
								 
							
						 
						
							
							
								
								Move sine windows to a separate file  
							
							These windows do not really belong in fft/mdct files and were
easily confused with the similarly named tables used by rdft.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26f548bb59 
								
							
								 
							
						 
						
							
							
								
								fft: remove inline wrappers for function pointers  
							
							This removes the rather pointless wrappers (one not even inline)
for calling the fft_calc and related function pointers.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ffe76e540 
								
							
								 
							
						 
						
							
							
								
								Merge libavcore into libavutil  
							
							Done to keep ABI compatible. Otherwise this is just silly 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								737eb5976f 
								
							
								 
							
						 
						
							
							
								
								Merge libavcore into libavutil  
							
							It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody
is helped by having libavutil and libavcore split. In order to ease
maintenance inside and around FFmpeg and to reduce confusion where to
put common code, avcore's functionality is merged (back) to avutil.
Signed-off-by: Reinhard Tartler <siretart@tauware.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fbdcdaee6e 
								
							
								 
							
						 
						
							
							
								
								Replace remaining occurrences of deprecated CH_* with AV_CH_*  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit c2fcd0a7a4 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c2fcd0a7a4 
								
							
								 
							
						 
						
							
							
								
								Replace remaining occurrences of deprecated CH_* with AV_CH_*  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7e2df27f8 
								
							
								 
							
						 
						
							
							
								
								Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.  
							
							None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d36beb3f69 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d36beb3f69 
								
							
								 
							
						 
						
							
							
								
								Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.  
							
							None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5d6e4c160a 
								
							
								 
							
						 
						
							
							
								
								Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum  
							
							SampleFormat with AVSampleFormat.
Originally committed as revision 25730 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago