b2bed9325d 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Group .name and .long_name together in codec/format declarations  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fc739b3eef 
								
							
								 
							
						 
						
							
							
								
								xan: Only read within the data that actually was initialized  
							
							Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org 
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30db94dc39 
								
							
								 
							
						 
						
							
							
								
								xan: Use bytestream2 to limit reading to within the buffer  
							
							Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org 
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								759001c534 
								
							
								 
							
						 
						
							
							
								
								lavc decoders: work with refcounted frames.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d744801f1a 
								
							
								 
							
						 
						
							
							
								
								xan: Convert to bytestream2  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d47dabbac2 
								
							
								 
							
						 
						
							
							
								
								xan: return a meaningful error code.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								51648da4dc 
								
							
								 
							
						 
						
							
							
								
								xan: remove a trivially true if().  
							
							This function used to be shared with the xxan decoder, but that is not
true anymore. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								df9b956751 
								
							
								 
							
						 
						
							
							
								
								lavc: fix decode_frame() third parameter semantics for video decoders  
							
							It's got_frame, not data size 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								594d4d5df3 
								
							
								 
							
						 
						
							
							
								
								lavc: add a wrapper for AVCodecContext.get_buffer().  
							
							It will be useful in the upcoming transition to refcounted AVFrames. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5bac2d0c30 
								
							
								 
							
						 
						
							
							
								
								avutil: Move memcpy_backptr() to mem.c  
							
							The function is used elsewhere and does not belong with the LZO code. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aaf47bcde7 
								
							
								 
							
						 
						
							
							
								
								Drop ALT_ prefix from BITSTREAM_READER_LE name.  
							
							The prefix is a historic remnant that probably meant "alternative".
Now that the A32 bitstream reader has been dropped it makes no sense anymore. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6eedeefe0b 
								
							
								 
							
						 
						
							
							
								
								xan.c: coding style clean-up.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7d17a794f0 
								
							
								 
							
						 
						
							
							
								
								xan: Prevent NULL dereference with missing palette  
							
							Signed-off-by: Janne Grunau <janne-libav@jannau.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3db3fdf4c6 
								
							
								 
							
						 
						
							
							
								
								xan: Check for out of bound reads in xan_huffman_decode()  
							
							Signed-off-by: Janne Grunau <janne-libav@jannau.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3e0757c2a8 
								
							
								 
							
						 
						
							
							
								
								xan: Fixed out of bound accesses in xan_unpack()  
							
							Signed-off-by: Janne Grunau <janne-libav@jannau.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								06be075cda 
								
							
								 
							
						 
						
							
							
								
								xan: Prevent NULL dereferences with missing reference frame  
							
							Signed-off-by: Janne Grunau <janne-libav@jannau.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								124a16f678 
								
							
								 
							
						 
						
							
							
								
								xan: Prevent out of bound accesses  
							
							Signed-off-by: Janne Grunau <janne-libav@jannau.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0872bb23b4 
								
							
								 
							
						 
						
							
							
								
								xan: Add some buffer checks  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								350f57bd7b 
								
							
								 
							
						 
						
							
							
								
								xan: Remove extra trailing newline  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								393d5031c6 
								
							
								 
							
						 
						
							
							
								
								Fixed size given to init_get_bits() in xan decoder.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec6402b7c5 
								
							
								 
							
						 
						
							
							
								
								lavc: use designated initialisers for all codecs.  
							
							It's more readable and less prone to breakage. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								90e8a9c34f 
								
							
								 
							
						 
						
							
							
								
								Remove Xan WC4 cruft from xan.c  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								782f69e8a5 
								
							
								 
							
						 
						
							
							
								
								Fix memleak: free palette data on close.  
							
							Originally committed as revision 25816 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								18d761a1b1 
								
							
								 
							
						 
						
							
							
								
								Fix indentation.  
							
							Originally committed as revision 25780 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3354b05187 
								
							
								 
							
						 
						
							
							
								
								Add explanation and alternative implementation for strange xan  
							
							gamma correction.
Originally committed as revision 25779 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								24ae353dfb 
								
							
								 
							
						 
						
							
							
								
								WC3/xan: move palette handling to decoder, avoiding need for  
							
							PaletteControl.
This also fixes playback of some files with ffplay (images were
corrupted for a short time after a palette change).
Originally committed as revision 25778 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f2f8fb1035 
								
							
								 
							
						 
						
							
							
								
								Remove redundant text in the log.  
							
							Originally committed as revision 25517 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								082a857522 
								
							
								 
							
						 
						
							
							
								
								Make XAN decoder return meaningful error codes.  
							
							Originally committed as revision 25516 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba87f0801d 
								
							
								 
							
						 
						
							
							
								
								Remove explicit filename from Doxygen  @file  commands.  
							
							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 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb39768960 
								
							
								 
							
						 
						
							
							
								
								Add long_name for Xxan codec.  
							
							Originally committed as revision 20900 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0080402d36 
								
							
								 
							
						 
						
							
							
								
								Improve handling allocated buffers in Xan decoder  
							
							Originally committed as revision 20899 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2628f515fe 
								
							
								 
							
						 
						
							
							
								
								cosmetics: reindent a bit  
							
							Originally committed as revision 20898 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4a49ab77c6 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary calls to avcodec_check_dimensions, the check is already  
							
							done at a higher level.
Originally committed as revision 20229 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5333450ce6 
								
							
								 
							
						 
						
							
							
								
								Use memcpy to copy till end of line in one go instead of copying pixel by pixel  
							
							in xan_wc3_output_pixel_run and xan_wc3_copy_pixel_run
Originally committed as revision 19774 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								64b8e620cb 
								
							
								 
							
						 
						
							
							
								
								Slightly simplify detection of end of compressed data in xan_unpack  
							
							Originally committed as revision 19772 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3aab27b459 
								
							
								 
							
						 
						
							
							
								
								Remove useless #include <unistd.h> from many files  
							
							Originally committed as revision 19499 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f63f689e10 
								
							
								 
							
						 
						
							
							
								
								Avoid code duplication in xan_unpack for the final memcpy.  
							
							Originally committed as revision 18608 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d7670f2827 
								
							
								 
							
						 
						
							
							
								
								Use sign_extend function instead of reimplementing it.  
							
							Originally committed as revision 18599 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e62f622193 
								
							
								 
							
						 
						
							
							
								
								Remove a useless "& 0xF"  
							
							Originally committed as revision 18598 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								977d813447 
								
							
								 
							
						 
						
							
							
								
								Use / and % operators instead of reimplementing them with a loop.  
							
							Originally committed as revision 18597 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b1e309865f 
								
							
								 
							
						 
						
							
							
								
								Change buffer check to avoid an unlikely pointer arithmetic overflow.  
							
							Originally committed as revision 18596 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								be50938073 
								
							
								 
							
						 
						
							
							
								
								Simplify xan_huffman_decode by using get_bits  
							
							Originally committed as revision 18595 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e5986d0427 
								
							
								 
							
						 
						
							
							
								
								Cosmetics to improve xan_unpack readability  
							
							Originally committed as revision 18590 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								16cc5a738c 
								
							
								 
							
						 
						
							
							
								
								Fix buffer size check for xan_unpack which was broken by r18586  
							
							Originally committed as revision 18589 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c644665f42 
								
							
								 
							
						 
						
							
							
								
								Some more simplifications of xan_unpack  
							
							Originally committed as revision 18588 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago