Anton Khirnov 
							
						 
					 
					
						
						
							
						
						ed451a08a4 
					 
					
						
						
							
							h264: move sub_mb_type into the per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:13 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						56febc993b 
					 
					
						
						
							
							h264: move the slice type variables into the per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:13 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						5f390eef8e 
					 
					
						
						
							
							h264: move mb_[uv]linesize into the per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:13 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						99a35d1ccb 
					 
					
						
						
							
							h264: move neighbor_transform_size into the per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:13 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						e6287f077c 
					 
					
						
						
							
							h264: move {mv,ref}_cache into the per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:13 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						f69574cf7a 
					 
					
						
						
							
							h264: move non_zero_count_cache into the per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:12 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						64c81b2cd0 
					 
					
						
						
							
							h264: move *_samples_available into the per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:12 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						7d8154edd5 
					 
					
						
						
							
							h264: move intra4x4_pred_mode[_cache] into the per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:12 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						8b00f4df20 
					 
					
						
						
							
							h264: move some neighbour information into the per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:12 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						4bd5ac200d 
					 
					
						
						
							
							h264: move {chroma,intra16x16}_pred_mode into the per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:12 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						5355ed6b20 
					 
					
						
						
							
							h264: move {prev,next}_mb_skipped into the per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:12 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						06789ad3b7 
					 
					
						
						
							
							h264: move qp_thresh into the per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:12 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						d231e84b06 
					 
					
						
						
							
							h264: move the quantizers into the per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:12 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						d40ae0e595 
					 
					
						
						
							
							h264: do not copy qscale when updating per-thread contexts  
						
						... 
						
						
						
						It's a per-slice quantity constructed when parsing the slice header. 
						
						
					 
					
						2015-03-21 11:27:12 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						92c6c2a605 
					 
					
						
						
							
							h264: split weighted pred-related vars into per-slice context  
						
						
						
						
					 
					
						2015-03-21 11:27:09 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						d8a45d2d49 
					 
					
						
						
							
							h264_ps: properly check cropping parameters against overflow  
						
						... 
						
						
						
						CC: libav-stable@libav.org  
						
						
					 
					
						2015-03-21 09:35:23 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						5127c00b97 
					 
					
						
						
							
							hevc: zero the correct variables on invalid crop parameters  
						
						... 
						
						
						
						It's the output_window that is applied to the output frame, not
pic_conf_win 
						
						
					 
					
						2015-03-21 09:35:19 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						c929659bdd 
					 
					
						
						
							
							hevc: make the crop sizes unsigned  
						
						
						
						
					 
					
						2015-03-21 09:35:14 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Cadhalpun 
							
						 
					 
					
						
						
							
						
						30e6abd1a8 
					 
					
						
						
							
							webp: ensure that each transform is only used once  
						
						... 
						
						
						
						According to the WebP Lossless Bitstream Specification
"each transform is allowed to be used only once".
If a transform is more than once this can lead to memory
corruption.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com >
Signed-off-by: Anton Khirnov <anton@khirnov.net > 
						
						
					 
					
						2015-03-19 21:03:13 +01:00 
						 
				 
			
				
					
						
							
							
								Martin Storsjö 
							
						 
					 
					
						
						
							
						
						58a840e215 
					 
					
						
						
							
							Replace a few leftover instances of enum PixelFormat with enum AVPixelFormat  
						
						... 
						
						
						
						Signed-off-by: Martin Storsjö <martin@martin.st > 
						
						
					 
					
						2015-03-17 23:53:33 +02:00 
						 
				 
			
				
					
						
							
							
								Vittorio Giovara 
							
						 
					 
					
						
						
							
						
						cdce9e8025 
					 
					
						
						
							
							aacsbr: Fix type for index variable  
						
						... 
						
						
						
						Prevents unsigned overflow and variable truncation.
Bug-Id: CID 603186 
						
						
					 
					
						2015-03-17 13:34:23 +00:00 
						 
				 
			
				
					
						
							
							
								Vittorio Giovara 
							
						 
					 
					
						
						
							
						
						7c60c124c8 
					 
					
						
						
							
							hqx: Drop unused offsets table  
						
						... 
						
						
						
						This is a leftover from the static to dynamic vlc table conversion. 
						
						
					 
					
						2015-03-17 13:34:23 +00:00 
						 
				 
			
				
					
						
							
							
								Carl Eugen Hoyos 
							
						 
					 
					
						
						
							
						
						c0f504e947 
					 
					
						
						
							
							libx264: Allow full-range yuv422 and yuv444 pixel formats  
						
						... 
						
						
						
						Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com > 
						
						
					 
					
						2015-03-17 13:34:22 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Möller 
							
						 
					 
					
						
						
							
						
						c9ed48e80e 
					 
					
						
						
							
							dca: Read params->pancABIT0[param_index] only if part0 is set  
						
						... 
						
						
						
						Prevent a spurious read from uninitialized memory. 
						
						
					 
					
						2015-03-17 12:31:07 +01:00 
						 
				 
			
				
					
						
							
							
								Luca Barbato 
							
						 
					 
					
						
						
							
						
						48aef27f52 
					 
					
						
						
							
							x86: Put COPY3_IF_LT under HAVE_6REGS  
						
						... 
						
						
						
						It uses 6 registers, unbreaks building on hardened x86 system.
Bug-Id: gentoo/541930
CC: libav-stable@libav.org  
						
						
					 
					
						2015-03-17 12:31:04 +01:00 
						 
				 
			
				
					
						
							
							
								Niels Möller 
							
						 
					 
					
						
						
							
						
						217e4ff4d1 
					 
					
						
						
							
							dca: Support for XLL (lossless extension)  
						
						... 
						
						
						
						Cleanup and integration by Diego Biurrun.
Signed-off-by: Diego Biurrun <diego@biurrun.de > 
						
						
					 
					
						2015-03-15 14:51:36 +01:00 
						 
				 
			
				
					
						
							
							
								Diego Biurrun 
							
						 
					 
					
						
						
							
						
						4da5aacc7e 
					 
					
						
						
							
							dca: Mark syncword constants unsigned; they do not fit in 32-bit signed int  
						
						
						
						
					 
					
						2015-03-13 21:20:37 +01:00 
						 
				 
			
				
					
						
							
							
								Vittorio Giovara 
							
						 
					 
					
						
						
							
						
						247e370e2a 
					 
					
						
						
							
							TDSC decoder  
						
						... 
						
						
						
						Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com > 
						
						
					 
					
						2015-03-13 19:48:14 +00:00 
						 
				 
			
				
					
						
							
							
								Vittorio Giovara 
							
						 
					 
					
						
						
							
						
						5a0e953c24 
					 
					
						
						
							
							mjpeg: Mark decoder family as thread safe  
						
						... 
						
						
						
						No global variables are used and the VLC tables are allocated without
static elements. This will allow using a JPEG decoding context within
other decoders. 
						
						
					 
					
						2015-03-13 19:48:07 +00:00 
						 
				 
			
				
					
						
							
							
								Vittorio Giovara 
							
						 
					 
					
						
						
							
						
						117b432748 
					 
					
						
						
							
							lavc: Introduce AVCodec internal capabilities  
						
						... 
						
						
						
						This field is designed for marking codec properties useful to lavc internals.
Two internal capabilities are added:
 - FF_CODEC_CAP_INIT_THREADSAFE: codec can be opened without locks;
 - FF_CODEC_CAP_INIT_CLEANUP: codec frees memory if initialization fails. 
						
						
					 
					
						2015-03-13 19:47:47 +00:00 
						 
				 
			
				
					
						
							
							
								Vittorio Giovara 
							
						 
					 
					
						
						
							
						
						9993a067f6 
					 
					
						
						
							
							lavc: Improve thread locking error message  
						
						
						
						
					 
					
						2015-03-13 19:47:34 +00:00 
						 
				 
			
				
					
						
							
							
								Himangi Saraogi 
							
						 
					 
					
						
						
							
						
						913aa9a487 
					 
					
						
						
							
							libx264: Return more meaningful error codes  
						
						... 
						
						
						
						Signed-off-by: Luca Barbato <lu_zero@gentoo.org > 
						
						
					 
					
						2015-03-12 19:09:22 +01:00 
						 
				 
			
				
					
						
							
							
								Vittorio Giovara 
							
						 
					 
					
						
						
							
						
						17c45d4d05 
					 
					
						
						
							
							libtheora: Check frame allocation  
						
						
						
						
					 
					
						2015-03-12 15:29:59 +00:00 
						 
				 
			
				
					
						
							
							
								Vittorio Giovara 
							
						 
					 
					
						
						
							
						
						a72d93daa0 
					 
					
						
						
							
							mpegvideo_enc: Check AVCodecContext allocation  
						
						
						
						
					 
					
						2015-03-12 15:29:59 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Möller 
							
						 
					 
					
						
						
							
						
						78c8922841 
					 
					
						
						
							
							dca: Document the permuted order in the lfe_fir_64 and lfe_fir_128 tables  
						
						
						
						
					 
					
						2015-03-12 13:28:42 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Cadhalpun 
							
						 
					 
					
						
						
							
						
						67142a8c72 
					 
					
						
						
							
							roqvideoenc: set enc->avctx in roq_encode_init  
						
						... 
						
						
						
						So far it is only set in roq_encode_frame, but it is used in
roq_encode_end to free the coded_frame. This currently segfaults if
roq_encode_frame is not called between roq_encode_init and
roq_encode_end.
CC:libav-stable@libav.org 
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com >
Signed-off-by: Anton Khirnov <anton@khirnov.net > 
						
						
					 
					
						2015-03-11 20:28:13 +01:00 
						 
				 
			
				
					
						
							
							
								Yukinori Yamazoe 
							
						 
					 
					
						
						
							
						
						212556cd21 
					 
					
						
						
							
							qsv: Improve the log message of when initializing MFX_IMPL_HARDWARE{2, 3, 4}  
						
						... 
						
						
						
						Signed-off-by: Anton Khirnov <anton@khirnov.net > 
						
						
					 
					
						2015-03-11 19:48:01 +01:00 
						 
				 
			
				
					
						
							
							
								Hendrik Leppkes 
							
						 
					 
					
						
						
							
						
						dc2d0e06af 
					 
					
						
						
							
							mlpdec: support TrueHD streams with an Atmos substream  
						
						... 
						
						
						
						The fourth substream is being discarded, since its not raw audio data,
but an encoded Atmos stream which needs a specialized decoder.
Fixes decoding of the true hd stream from Transformers\ -\ Age\ of\ Extinction\ 2014\ 1080P-003.mkv
Signed-off-by: Anton Khirnov <anton@khirnov.net > 
						
						
					 
					
						2015-03-11 16:06:40 +01:00 
						 
				 
			
				
					
						
							
							
								Hendrik Leppkes 
							
						 
					 
					
						
						
							
						
						f36f6a608b 
					 
					
						
						
							
							mlpdec: support major sync headers with optional extension blocks  
						
						... 
						
						
						
						Signed-off-by: Anton Khirnov <anton@khirnov.net > 
						
						
					 
					
						2015-03-11 16:03:13 +01:00 
						 
				 
			
				
					
						
							
							
								Vittorio Giovara 
							
						 
					 
					
						
						
							
						
						93f7948136 
					 
					
						
						
							
							libvpx: Fix mixed use of av_malloc() and av_reallocp()  
						
						... 
						
						
						
						This buffer is resized when vpx_codec_get_cx_data() returns a
VPX_CODEC_STATS_PKT packet.
CC: libav-stable@libav.org 
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com > 
						
						
					 
					
						2015-03-09 12:58:18 +00:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						0ce3a0f9d9 
					 
					
						
						
							
							utvideodec: Handle slice_height being zero  
						
						... 
						
						
						
						Fixes out of array accesses.
CC: libav-stable@libav.org 
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Bug-Id: CVE-2014-9604
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org > 
						
						
					 
					
						2015-03-09 00:51:15 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						ae5e1f3d66 
					 
					
						
						
							
							tiff: Check that there is no aliasing in pixel format selection  
						
						... 
						
						
						
						Fixes possible issues with unexpected bpp/bppcount values.
CC: libav-stable@libav.org 
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Bug-Id: CVE-2014-8544
Signed-off-by: Luca Barbato <lu_zero@gentoo.org > 
						
						
					 
					
						2015-03-08 19:14:14 +01:00 
						 
				 
			
				
					
						
							
							
								Luca Barbato 
							
						 
					 
					
						
						
							
						
						0025f7408a 
					 
					
						
						
							
							vorbis: Check the vlc value in setup_classifs  
						
						... 
						
						
						
						The valid returned values are always at most 11bit.
Remove the previous check that assumed larger values plausible and
use a signed integer to check get_vlc2 return values.
CC: libav-stable@libav.org  
						
						
					 
					
						2015-03-08 14:33:03 +01:00 
						 
				 
			
				
					
						
							
							
								Luca Barbato 
							
						 
					 
					
						
						
							
						
						62de77ffca 
					 
					
						
						
							
							vorbis: Use a local codebook variable  
						
						... 
						
						
						
						Makes the code a little simpler. 
						
						
					 
					
						2015-03-08 14:33:02 +01:00 
						 
				 
			
				
					
						
							
							
								Martin Storsjö 
							
						 
					 
					
						
						
							
						
						25c29d3283 
					 
					
						
						
							
							libopenh264enc: Add support for building with OpenH264 1.4  
						
						... 
						
						
						
						Signed-off-by: Martin Storsjö <martin@martin.st > 
						
						
					 
					
						2015-03-06 10:02:47 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						ad786dd450 
					 
					
						
						
							
							h264: remove a now redundant error check  
						
						... 
						
						
						
						It was only relevant when data partitioning was in use. 
						
						
					 
					
						2015-03-05 16:10:11 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Cadhalpun 
							
						 
					 
					
						
						
							
						
						4f2ee9daee 
					 
					
						
						
							
							webp: validate the distance prefix code  
						
						... 
						
						
						
						According to the WebP Lossless Bitstream Specification the highest
allowed value for a prefix code is 39.
If prefix_code is too large, the calculated extra_bits has an invalid
value and triggers an assertion in get_bits.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com >
Signed-off-by: Anton Khirnov <anton@khirnov.net > 
						
						
					 
					
						2015-03-05 14:49:16 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Cadhalpun 
							
						 
					 
					
						
						
							
						
						66624ed631 
					 
					
						
						
							
							rv10: check size of s->mb_width * s->mb_height  
						
						... 
						
						
						
						If it doesn't fit into 12 bits it triggers an assertion.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com >
Signed-off-by: Anton Khirnov <anton@khirnov.net > 
						
						
					 
					
						2015-03-05 14:49:16 +01:00 
						 
				 
			
				
					
						
							
							
								Himangi Saraogi 
							
						 
					 
					
						
						
							
						
						f3b74d944b 
					 
					
						
						
							
							pcxenc: Return more meaningful error codes  
						
						... 
						
						
						
						Signed-off-by: Diego Biurrun <diego@biurrun.de > 
						
						
					 
					
						2015-03-04 23:44:01 +01:00 
						 
				 
			
				
					
						
							
							
								Vittorio Giovara 
							
						 
					 
					
						
						
							
						
						87e85a133f 
					 
					
						
						
							
							aac: Relax reserved_bit validation  
						
						... 
						
						
						
						Although the specification mandates this bit to zero, it may happen
that software tools incorrectly flip it to one, invalidating a possibly
valid stream.
Relax this restriction, by failing only when AV_EF_BITSTREAM is set.
This behaviour is similar to aac decoders in Firefox and Quicktime.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com > 
						
						
					 
					
						2015-03-04 16:36:16 +00:00