594d4d5df3 
								
							
								 
							
						 
						
							
							
								
								lavc: add a wrapper for AVCodecContext.get_buffer().  
							
							It will be useful in the upcoming transition to refcounted AVFrames. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d88920578 
								
							
								 
							
						 
						
							
							
								
								dpcm: use AV_LOG_ERROR for error message.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0fd1ddf155 
								
							
								 
							
						 
						
							
							
								
								dpcm: use AVCodecContext.channels instead of keeping a private copy  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3a3f06b05e 
								
							
								 
							
						 
						
							
							
								
								dpcm: convert to bytestream2.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce7aee9b73 
								
							
								 
							
						 
						
							
							
								
								dpcm: ignore extra unpaired bytes in stereo streams.  
							
							Fixes: CVE-2011-3951
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								92115bb685 
								
							
								 
							
						 
						
							
							
								
								dpcm: Round output buffer size up.  
							
							Fixes: CVE-2011-3951
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								529a25d6e5 
								
							
								 
							
						 
						
							
							
								
								dpcm: Fix invalid writes  
							
							Fixes bug: #152 
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d8e6fe9db 
								
							
								 
							
						 
						
							
							
								
								CODEC_ID_SOL_DPCM: Fix used write buffer.  
							
							Bug found by: Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								8dbc6d03c0 
								
							
								 
							
						 
						
							
							
								
								dpcm: do not try to decode empty packets  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e79da63282 
								
							
								 
							
						 
						
							
							
								
								dpcm: remove unneeded buf_size==0 check.  
							
							It is already checked in avcodec_decode_audio3() 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								08bd22a61b 
								
							
								 
							
						 
						
							
							
								
								dpcm: return error if packet is too small  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0354fb7ebe 
								
							
								 
							
						 
						
							
							
								
								dpcm: use smaller data types for static tables  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a54d51017 
								
							
								 
							
						 
						
							
							
								
								dpcm: use sol_table_16 directly instead of through the DPCMContext.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f47f7efd14 
								
							
								 
							
						 
						
							
							
								
								dpcm: replace short with int16_t  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d77d12a2b 
								
							
								 
							
						 
						
							
							
								
								dpcm: check to make sure channels is 1 or 2.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4bad464e7f 
								
							
								 
							
						 
						
							
							
								
								dpcm: misc pretty-printing  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1de8401c56 
								
							
								 
							
						 
						
							
							
								
								dpcm: remove unnecessary variable by using bytestream functions.  
							
							Uses 'buf' directly instead of a separate iterator variable 'in'. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fc6faee0d1 
								
							
								 
							
						 
						
							
							
								
								dpcm: move codec-specific variable declarations to their corresponding decoding blocks.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								989bb7bd04 
								
							
								 
							
						 
						
							
							
								
								dpcm: consistently use the variable name 'n' for the next input byte.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								04b24cf94b 
								
							
								 
							
						 
						
							
							
								
								dpcm: output AV_SAMPLE_FMT_U8 for Sol DPCM subcodecs 1 and 2.  
							
							Uses the native sample format for the codec instead of left-shifting all
samples by 8. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								76db17dc7d 
								
							
								 
							
						 
						
							
							
								
								dpcm: calculate and check actual output data size prior to decoding.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3db8db406f 
								
							
								 
							
						 
						
							
							
								
								dpcm: factor out the stereo flag calculation  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b09c7eefb7 
								
							
								 
							
						 
						
							
							
								
								dpcm: cosmetics: rename channel_number to ch  
							
							Make the code easier to read. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8671488799 
								
							
								 
							
						 
						
							
							
								
								Use explicit struct initializers for AVCodec declarations.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								98ec828775 
								
							
								 
							
						 
						
							
							
								
								Remove final semicolon from some macros  
							
							This avoids double semicolons after macro expansion.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 44adbebe17 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								44adbebe17 
								
							
								 
							
						 
						
							
							
								
								Remove final semicolon from some macros  
							
							This avoids double semicolons after macro expansion.
Signed-off-by: Mans Rullgard <mans@mansr.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  
				
					
						
							
							
								 
						
							
							
							
								
							
								33edd31f5f 
								
							
								 
							
						 
						
							
							
								
								Remove redundant and harmful explicit filename after  @file  Doxygen command.  
							
							Originally committed as revision 23971 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72415b2adb 
								
							
								 
							
						 
						
							
							
								
								Define AVMediaType enum, and use it instead of enum CodecType, which  
							
							is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a00bbad21 
								
							
								 
							
						 
						
							
							
								
								Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an  
							
							AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								12dd57fd29 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Reformat long_names so that "DPCM" comes first.  
							
							Originally committed as revision 17721 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								406792e7b0 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Remove pointless period after copyright statement non-sentences.  
							
							Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6a5d31ac25 
								
							
								 
							
						 
						
							
							
								
								Fix build: Add intreadwrite.h and bswap.h #includes where necessary.  
							
							Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								efeb298ea0 
								
							
								 
							
						 
						
							
							
								
								cosmetics: remove one unneeded space  
							
							Originally committed as revision 16211 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fd76c37fd9 
								
							
								 
							
						 
						
							
							
								
								Modify all codecs to report their supported input and output sample format(s).  
							
							Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cf2baeb338 
								
							
								 
							
						 
						
							
							
								
								mark read-only data as const  
							
							Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe4bf37455 
								
							
								 
							
						 
						
							
							
								
								Make AVCodec long_names definition conditional depending on CONFIG_SMALL.  
							
							Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0f3af710de 
								
							
								 
							
						 
						
							
							
								
								DPCM codec long names, patch by Stefano Sabatini, stefano.sabatini-lala poste it  
							
							Originally committed as revision 13156 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								98a6fff98c 
								
							
								 
							
						 
						
							
							
								
								Apply 'cold' attribute to init/uninit functions in libavcodec  
							
							Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7993df6527 
								
							
								 
							
						 
						
							
							
								
								consts  
							
							I have underestimated this a little, and these are just some ...
Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad8df79b1d 
								
							
								 
							
						 
						
							
							
								
								simplify dpcm decoders declaration using a macro  
							
							Originally committed as revision 10898 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2085a7e9d 
								
							
								 
							
						 
						
							
							
								
								Guard against output buffer overflows  
							
							Originally committed as revision 10548 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aee481cebe 
								
							
								 
							
						 
						
							
							
								
								use av_clip_int16() where it makes sense  
							
							Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fead30d444 
								
							
								 
							
						 
						
							
							
								
								rename BE/LE_8/16/32 to AV_RL/B_8/16/32  
							
							Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b78e7197a8 
								
							
								 
							
						 
						
							
							
								
								Change license headers to say 'FFmpeg' instead of 'this program/this library'  
							
							and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago