a25dac976a 
								
							
								 
							
						 
						
							
							
								
								Use bitstream_init8() where appropriate  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								770406d1e8 
								
							
								 
							
						 
						
							
							
								
								pcx: Convert to the new bitstream reader  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								09b23786b3 
								
							
								 
							
						 
						
							
							
								
								pcx: use the bytestream2 API for reading from input  
							
							Fixes possible invalid reads.
CC: libav-stable@libav.org 
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								221402c1c8 
								
							
								 
							
						 
						
							
							
								
								pcx: check that the packet is large enough before reading the header  
							
							Fixes possible invalid reads.
CC: libav-stable@libav.org 
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								15ee419b7a 
								
							
								 
							
						 
						
							
							
								
								pcx: properly pad the scanline  
							
							It is passed to the get_bits API, which requires buffers to be padded.
Fixes possible invalid reads.
CC: libav-stable@libav.org 
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind 
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8dead2aaca 
								
							
								 
							
						 
						
							
							
								
								Move const qualifier before type name  
							
							
								
							
							
						 
						9 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								def97856de 
								
							
								 
							
						 
						
							
							
								
								lavc: AV-prefix all codec capabilities  
							
							Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								430d121964 
								
							
								 
							
						 
						
							
							
								
								pcx: round up in bits->bytes conversion in a buffer size check  
							
							Fixes invalid reads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0679416269 
								
							
								 
							
						 
						
							
							
								
								pcx: stop using deprecated avcodec_set_dimensions  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b2bed9325d 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Group .name and .long_name together in codec/format declarations  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff07ec143e 
								
							
								 
							
						 
						
							
							
								
								pcx: Return an error on broken palette if err_detect is set to 'explode'  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d1d99e3bef 
								
							
								 
							
						 
						
							
							
								
								pcx: Check the packet size before assuming it fits a palette  
							
							This fixes reads out of bounds.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org 
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9fb0de86b4 
								
							
								 
							
						 
						
							
							
								
								pcx: Consume the whole packet if giving up due to missing palette  
							
							Previously, we returned 0, meaning successful decoding but 0
bytes consumed, leading to an infinite loop.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org 
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3abde1a3b4 
								
							
								 
							
						 
						
							
							
								
								pcx: Do not overread source buffer in pcx_rle_decode  
							
							Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								170fb593c6 
								
							
								 
							
						 
						
							
							
								
								pcx: K&R formatting cosmetics  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								759001c534 
								
							
								 
							
						 
						
							
							
								
								lavc decoders: work with refcounted frames.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a1c525f7eb 
								
							
								 
							
						 
						
							
							
								
								pcx: return meaningful error codes.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								00c3b67b8a 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Align codec declarations  
							
							Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec6402b7c5 
								
							
								 
							
						 
						
							
							
								
								lavc: use designated initialisers for all codecs.  
							
							It's more readable and less prone to breakage. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								975a1447f7 
								
							
								 
							
						 
						
							
							
								
								Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e16f217ceb 
								
							
								 
							
						 
						
							
							
								
								Use new imgutils.h API names, fix deprecation warnings.  
							
							Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6ce9b4310c 
								
							
								 
							
						 
						
							
							
								
								Remove use of the deprecated function avcodec_check_dimensions(), use  
							
							av_check_image_size() instead.
Originally committed as revision 24711 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								70f2314df0 
								
							
								 
							
						 
						
							
							
								
								pcx: convert VLAs to malloc/free  
							
							Originally committed as revision 23796 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff54bb975a 
								
							
								 
							
						 
						
							
							
								
								Fix indentation.  
							
							Originally committed as revision 20378 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								25b6d0bc69 
								
							
								 
							
						 
						
							
							
								
								Only memset for palettes of 16 elements.  
							
							Originally committed as revision 20377 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dae0d1e21c 
								
							
								 
							
						 
						
							
							
								
								Support decoding of uncompressed PCX scanlines  
							
							Originally committed as revision 20153 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f1cdd863a5 
								
							
								 
							
						 
						
							
							
								
								pcx decoder use get_buffer, set CODEC_CAP_DR1  
							
							Originally committed as revision 19098 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9106a698e7 
								
							
								 
							
						 
						
							
							
								
								Rename bitstream.h to get_bits.h.  
							
							Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f8adf26a4 
								
							
								 
							
						 
						
							
							
								
								Correct type for pcx_rle_decode().  
							
							Fixes icc warning #120 : return value type does not match the function
type
Originally committed as revision 13139 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bcdb2378f7 
								
							
								 
							
						 
						
							
							
								
								Add long names to some AVCodec declarations.  
							
							patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13022 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c71bc55dc 
								
							
								 
							
						 
						
							
							
								
								const  
							
							Originally committed as revision 11735 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91be76a662 
								
							
								 
							
						 
						
							
							
								
								remove useless cast  
							
							Originally committed as revision 11328 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b4abe1d198 
								
							
								 
							
						 
						
							
							
								
								PC Paintbrush PCX image decoder  
							
							Originally committed as revision 11321 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago