874da652b3 
								
							
								 
							
						 
						
							
							
								
								Avoid av_memcpy_backptr hang without extra branch.  
							
							This only happens for a "back" value of 0 which is invalid anyway,
but lcldec does not properly validate input.
Also extend the documentation to specify valid values.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								58c41799ab 
								
							
								 
							
						 
						
							
							
								
								lzo: fix memcpy_backptr() with 0 offset  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c68fafe0d2 
								
							
								 
							
						 
						
							
							
								
								doxygen: eliminate Qt-style doxygen syntax  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b9242fd12f 
								
							
								 
							
						 
						
							
							
								
								av_lzo1x_decode: properly handle negative buffer length.  
							
							Treating them like 0 is safest, current code would invoke
undefined pointer arithmetic behaviour in this case.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								adbfc605f6 
								
							
								 
							
						 
						
							
							
								
								doxygen: Consistently use '@' instead of '\' for Doxygen markup.  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								032f406864 
								
							
								 
							
						 
						
							
							
								
								Handle input or output len of 0 properly in lzo decoder.  
							
							(cherry picked from commit 7d5082600e 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7d5082600e 
								
							
								 
							
						 
						
							
							
								
								Handle input or output len of 0 properly in lzo decoder.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								985fdd534f 
								
							
								 
							
						 
						
							
							
								
								Give liblzo benchmark conditionals more descriptive names and add convenience  
							
							definitions along with instructions for changing them.
Originally committed as revision 18387 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								82a6ef2089 
								
							
								 
							
						 
						
							
							
								
								Replace manual setting of the removed av_log_level variable by the  
							
							corresponding call to av_log_set_level().
Originally committed as revision 18310 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe4032b66a 
								
							
								 
							
						 
						
							
							
								
								Remove more functions disabled by major version bump.  
							
							Originally committed as revision 17876 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d08e27015 
								
							
								 
							
						 
						
							
							
								
								Add necessary header for LIBAVUTIL_VERSION_MAJOR, fixes the warning:  
							
							libavutil/lzo.c:235:5: warning: "LIBAVUTIL_VERSION_MAJOR" is not defined
Originally committed as revision 16962 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a545f067f3 
								
							
								 
							
						 
						
							
							
								
								Move doxygen documentation from lzo.c to lzo.h  
							
							Originally committed as revision 16949 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0b178e5629 
								
							
								 
							
						 
						
							
							
								
								Add av_ prefix to LZO stuff and thus make it officially part of the public API.  
							
							Keep lzo1x_decode until the next major version bump for binary compatibility.
Originally committed as revision 16946 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bfe3676feb 
								
							
								 
							
						 
						
							
							
								
								spelling/grammar/consistency review part II  
							
							Originally committed as revision 16848 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89c9ff504b 
								
							
								 
							
						 
						
							
							
								
								spelling/grammar/consistency review part I  
							
							Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6ba10f338a 
								
							
								 
							
						 
						
							
							
								
								Add av_memcpy_backptr(): deliberately overlapping memcpy variant.  
							
							Originally committed as revision 14641 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e038b4f08 
								
							
								 
							
						 
						
							
							
								
								LZO decoder input is const  
							
							Originally committed as revision 11797 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4302963daa 
								
							
								 
							
						 
						
							
							
								
								Move lzo decompression to libavutil  
							
							Originally committed as revision 7789 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c215e40316 
								
							
								 
							
						 
						
							
							
								
								Make sure we do not accidentially "fix" cnt to something < 0  
							
							Originally committed as revision 7788 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0a8b87600 
								
							
								 
							
						 
						
							
							
								
								Simplify checks, use that we know that cnt will not be < 0  
							
							Originally committed as revision 7787 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								56f8647aaa 
								
							
								 
							
						 
						
							
							
								
								Remove boundary checks that are actually done "well enough"  
							
							in copy function
Originally committed as revision 7786 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b2c14df60 
								
							
								 
							
						 
						
							
							
								
								Documentation fix: Copy functions should "work" fine for cnt == 0  
							
							Originally committed as revision 7785 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1db8c21c1f 
								
							
								 
							
						 
						
							
							
								
								Optimize LZO copy operations  
							
							Originally committed as revision 7784 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								960e48f8f0 
								
							
								 
							
						 
						
							
							
								
								another >> vs >  
							
							Originally committed as revision 7779 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf47272f3c 
								
							
								 
							
						 
						
							
							
								
								simpify state and make code 2% faster  
							
							reimar, dont hesitate to flame me for not sending patches and feel free to revert any or all of my changes to lzo.c if you dont like them
Originally committed as revision 7778 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5fe9c42ceb 
								
							
								 
							
						 
						
							
							
								
								Add two extra needed bounds checks  
							
							Originally committed as revision 7777 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								801778bc83 
								
							
								 
							
						 
						
							
							
								
								replace if(x>>b) by if(x>C) as shifts are slow on some cpus and i have my doubts that gcc can replace the shifts as x is signed, it could in theory but well its gcc ...  
							
							Originally committed as revision 7776 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d62a0c1e5d 
								
							
								 
							
						 
						
							
							
								
								Add code to testcode to ease comparing with liblzo.  
							
							Originally committed as revision 7775 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a737f1dfdb 
								
							
								 
							
						 
						
							
							
								
								LZO optimization: check input buffer bounds less frequently if padded  
							
							Originally committed as revision 7747 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cf0ef3dc34 
								
							
								 
							
						 
						
							
							
								
								Fix buffer end checks in lzo copy code to work in all cases.  
							
							Originally committed as revision 7731 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								266aa26c52 
								
							
								 
							
						 
						
							
							
								
								Add lzo test code  
							
							Originally committed as revision 7727 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								214019ed32 
								
							
								 
							
						 
						
							
							
								
								Avoid void *-arithmetic  
							
							Originally committed as revision 6590 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								f53a2931cf 
								
							
								 
							
						 
						
							
							
								
								faster copy functions for lzo decoder that also need padding  
							
							Originally committed as revision 4882 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						20 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3c71c5002 
								
							
								 
							
						 
						
							
							
								
								10l, get_byte returning 0 on error can cause a hang. So let's try with 1 instead...  
							
							Originally committed as revision 4862 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						20 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a9318df2f8 
								
							
								 
							
						 
						
							
							
								
								get_byte may not return -1 on error, since it can lead to a negative backptr.  
							
							Originally committed as revision 4854 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						20 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d66fbc14de 
								
							
								 
							
						 
						
							
							
								
								Wrong state handling causing decompression errors in some cases  
							
							Originally committed as revision 4852 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						20 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5509bffa88 
								
							
								 
							
						 
						
							
							
								
								Update licensing information: The FSF changed postal address.  
							
							Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						20 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								517840c654 
								
							
								 
							
						 
						
							
							
								
								Our own LZO (1X) implementation, under LGPL and optimized for readability.  
							
							Tested on CamStudio sample files.
Originally committed as revision 4840 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						20 years ago