77c5b66cbe 
								
							
								 
							
						 
						
							
							
								
								g722enc: set frame_size, and also handle an odd number of input samples  
							
							The fate reference is updated because the previous test skipped a sample in
each encode() call due each input frame having an odd number of samples. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34093ba081 
								
							
								 
							
						 
						
							
							
								
								g722enc: split encoding into separate functions for trellis vs. no trellis  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								96219141e2 
								
							
								 
							
						 
						
							
							
								
								mpegaudiodec: Use clearer pointer math  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4b4acc544f 
								
							
								 
							
						 
						
							
							
								
								tta: Fix returned error code at EOF  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d8b33a9989 
								
							
								 
							
						 
						
							
							
								
								tta: fix off be 1 error in the end detection.  
							
							Fixes use of uninitialized values.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								52e9854a83 
								
							
								 
							
						 
						
							
							
								
								tta: fix 24-bit decoding.  
							
							Decode to the correct output buffer. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								75146b8828 
								
							
								 
							
						 
						
							
							
								
								ipmovie: Add param change side data if the video dimensions have changed  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								17aa02b9a1 
								
							
								 
							
						 
						
							
							
								
								interplayvideo: Handle changed video dimensions on the fly  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c5d907b6b0 
								
							
								 
							
						 
						
							
							
								
								libavcodec: Handle param change side data in avcodec_decode_video2, too  
							
							Also call avcodec_set_dimensions on dimension param change packets.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								867f923df4 
								
							
								 
							
						 
						
							
							
								
								libavcodec: Move apply_param_change up above avcodec_decode_video2  
							
							This is in preparation to calling it from avcodec_decode_video2.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								be540e0cb3 
								
							
								 
							
						 
						
							
							
								
								indeo3: check motion vectors for validity  
							
							Fixes null pointer dereferences in fuzzed files found by Oana Stratulat.
Signed-off-by: Janne Grunau <janne-libav@jannau.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b18a0cc781 
								
							
								 
							
						 
						
							
							
								
								indeo5: Fix null pointer dereference.  
							
							Bug found by: Oana Stratulat
Signed-off-by: Janne Grunau <janne-libav@jannau.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73b16198b6 
								
							
								 
							
						 
						
							
							
								
								electronicarts: check bytes per sample for validity  
							
							Prevents division by zero. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b348c852aa 
								
							
								 
							
						 
						
							
							
								
								flicvideo: fix invalid reads  
							
							Prevent invalid reads using bytestream2 functions.
Fixes bug #126 .
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								57cd6d7095 
								
							
								 
							
						 
						
							
							
								
								vorbis: Avoid some out-of-bounds reads  
							
							Fixes Bug: #190 
Chromium Bug: #100543 
Related to CVE-2011-3893
Signed-off-by: Reinhard Tartler <siretart@tauware.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f86209b43d 
								
							
								 
							
						 
						
							
							
								
								vqf: add more known extensions  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3aa3fc45fe 
								
							
								 
							
						 
						
							
							
								
								cabac: remove unused function renorm_cabac_decoder  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								301fb92131 
								
							
								 
							
						 
						
							
							
								
								h264: Only use symbols from the SVQ3 decoder under proper conditionals.  
							
							Fixes --disable-everything --enable-decoder=h264 --disable-optimizations. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e8bf6db48 
								
							
								 
							
						 
						
							
							
								
								add bytestream2_tell() and bytestream2_seek() functions  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f907615f08 
								
							
								 
							
						 
						
							
							
								
								parsers: initialize MpegEncContext.slice_context_count to 1  
							
							The mpeg4 video, H264 and VC-1 parser hold (directly or indirectly)
a MpegEncContext in their private context. Since they do not call the
common mpegvideo init function slice_context_count has explicitly set
to 1.
Prevents a null pointer dereference in the h264 parser and fixes
bug 193. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								580bb77936 
								
							
								 
							
						 
						
							
							
								
								spdifenc: use special alignment for DTS-HD length_code  
							
							Align IEC 61937 length_code for DTS-HD so that
(length_code & 0xf) == 0x8. This is reportedly needed with some
receivers.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5be84cfbc 
								
							
								 
							
						 
						
							
							
								
								ipmovie: do not read audio packets before the codec is known  
							
							Prevents a division by zero. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								696ace50ea 
								
							
								 
							
						 
						
							
							
								
								truemotion2: check size before GetBitContext initialisation  
							
							Prevents null ptr derefence for negative sizes. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								acb074301c 
								
							
								 
							
						 
						
							
							
								
								avio: Only do implicit network initialization for network protocols  
							
							The implicit network initialization is set to be removed in the
future, but is kept for compatibility. By not doing the implicit
initialization for non-network protocols, we avoid the warning
about avformat_network_init() not being called for these, where
it really doesn't make much sense.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								32b83aeec1 
								
							
								 
							
						 
						
							
							
								
								avio: Add an URLProtocol flag for indicating that a protocol uses network  
							
							This definition is in two files, since the definitions will move
to the private header at the next bump.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb5b3940b0 
								
							
								 
							
						 
						
							
							
								
								adpcm: ADPCM Electronic Arts has always two channels  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								faaec4676c 
								
							
								 
							
						 
						
							
							
								
								matroskadec: Fix a bug where a pointer was cached to an array that might later move due to a realloc()  
							
							Fixes bug #190 
Chromium bug #100492 
related to CVE-2011-3893
Signed-off-by: Reinhard Tartler <siretart@tauware.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce23b2af18 
								
							
								 
							
						 
						
							
							
								
								fate: Add missing reference file from  9b4767e4.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4274e481c0 
								
							
								 
							
						 
						
							
							
								
								mov: Support MOV_CH_LAYOUT_USE_DESCRIPTIONS for labeled descriptions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b55b4bb3a 
								
							
								 
							
						 
						
							
							
								
								4xm: Prevent buffer overreads.  
							
							4xm decoder while decoding i2 frames can overread the buffer if proper checks
are not made.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e268a352af 
								
							
								 
							
						 
						
							
							
								
								mjpegdec: parse RSTn to prevent skipping other data in mjpeg_decode_scan  
							
							Check explicitly if enough bits are left to prevent an infinite loop
when the bitstream buffer is not followed by zero-padding.
Based on patches by Michael Niedermayer <michaelni@gmx.at>. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e5cde2745 
								
							
								 
							
						 
						
							
							
								
								vp3: add fate test for non-zero last coefficient  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b4767e478 
								
							
								 
							
						 
						
							
							
								
								vp3: fix streams with non-zero last coefficient  
							
							Fixes a regression introduced in 8b94df0f20 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ba65879b5 
								
							
								 
							
						 
						
							
							
								
								swscale: remove unused U/V arguments from yuv2rgb_write().  
							
							Also document the function somewhat. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dff4af448d 
								
							
								 
							
						 
						
							
							
								
								timer: K&R formatting cosmetics  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f9b9dd8740 
								
							
								 
							
						 
						
							
							
								
								lavf: cosmetics, reformat av_read_frame().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6450599e22 
								
							
								 
							
						 
						
							
							
								
								lavf: refactor av_read_frame() to make it easier to understand.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7f09791d28 
								
							
								 
							
						 
						
							
							
								
								Report an error if pitch_lag is zero in AMR-NB decoder.  
							
							This fixes an infinite loop in the decoder on specially
crafted files, and fixes bug 151.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3fa646e859 
								
							
								 
							
						 
						
							
							
								
								Revert "4xm: Prevent buffer overreads."  
							
							This reverts commit 295a7c0238 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								295a7c0238 
								
							
								 
							
						 
						
							
							
								
								4xm: Prevent buffer overreads.  
							
							4xm decoder while decoding i2 frames can overread the buffer if proper checks
are not made.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4b84f68223 
								
							
								 
							
						 
						
							
							
								
								4xm: pass the correct remaining buffer size to decode_i2_frame().  
							
							frame_size is the number of bytes left in the packet, so if we are passing
buf-4 we can safely read frame_size+4 bytes.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								893f137679 
								
							
								 
							
						 
						
							
							
								
								4xm: fix calculation of the next output line position in decode_i2_frame().  
							
							The current code doesn't work unless width is an exact multiple of 16.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								feb15cee5e 
								
							
								 
							
						 
						
							
							
								
								mtv: Make sure audio_subsegments is not 0  
							
							audio_subsegments would be 0 and cause floating point exceptions
Fixes bugzilla #144 
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f13a9ca906 
								
							
								 
							
						 
						
							
							
								
								v4l2: use V4L2_FMT_FLAG_EMULATED only if it is defined  
							
							V4L2_FMT_FLAG_EMULATED was added in 2.6.32. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8c04f6240 
								
							
								 
							
						 
						
							
							
								
								avconv: add symbolic names for -vsync parameters  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2df73eefb4 
								
							
								 
							
						 
						
							
							
								
								flvdec: Fix compiler warning for uninitialized variables  
							
							These can't be used uninitialized in practice, but the
compiler doesn't realize it.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4be386b318 
								
							
								 
							
						 
						
							
							
								
								rtsp: Fix compiler warning for uninitialized variable  
							
							This one won't ever be used uninitialized in practice, but
the compiler doesn't realize it.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89d26797f5 
								
							
								 
							
						 
						
							
							
								
								ulti: convert to new bytestream API.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d72a6f19e 
								
							
								 
							
						 
						
							
							
								
								swscale: Use standard multiple inclusion guards in ppc/ header files.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								00a1cdd264 
								
							
								 
							
						 
						
							
							
								
								Place some START_TIMER invocations in separate blocks.  
							
							This fixes compilation failures related to START_TIMER/STOP_TIMER macros and
-Werror=declaration-after-statement.  START_TIMER declares variables and thus
may not be placed after statements outside of a new block. 
							
						 
						14 years ago