db9d39b4b5 
								
							
								 
							
						 
						
							
							
								
								avformat: Report the duration analysis reached  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								33c859c142 
								
							
								 
							
						 
						
							
							
								
								lavf: ignore attachment streams for interleaving purposes  
							
							Those streams should never get any packets by definition. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								78987a88a8 
								
							
								 
							
						 
						
							
							
								
								lavf: include 60 fps in guessed standard frame rates  
							
							Due to what looks like an off-by-one error 60 * 12 * 1001 / 12 * 1001
is not tested as standard frame rate in avformat_find_stream_info(). 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d67cfdeb53 
								
							
								 
							
						 
						
							
							
								
								avformat: utils: Refactor duplicated PRINT macro  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								50ecf15712 
								
							
								 
							
						 
						
							
							
								
								avformat: utils: K&R formatting cosmetics  
							
							Also adjust some comment wording / spelling and reorder header #includes. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2115a35974 
								
							
								 
							
						 
						
							
							
								
								lavf: make av_probe_input_buffer more robust  
							
							Always use the actually read size as the offset instead of making
possibly invalid assumptions.
Addresses: CVE-2012-6618 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b76362836 
								
							
								 
							
						 
						
							
							
								
								lavf: use a fixed width type  
							
							It's shorter and more consistent with the rest of the code. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c1868e7ee7 
								
							
								 
							
						 
						
							
							
								
								lavf: simplify handling of offset in av_probe_input_buuffer()  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3867f3718b 
								
							
								 
							
						 
						
							
							
								
								lavf: remove a pointless check  
							
							AVStream.codec is always non-NULL 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								281a40e18f 
								
							
								 
							
						 
						
							
							
								
								lavf: remove an unneeded call to avcodec_get_frame_defaults().  
							
							avcodec_decode_*() resets the frame itself. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb891b3114 
								
							
								 
							
						 
						
							
							
								
								Replace all uses of avcodec_free_frame with av_frame_free().  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f8bc92365 
								
							
								 
							
						 
						
							
							
								
								Add missing #includes for *INT64_MAX and *INT64_C  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5b9c3b4505 
								
							
								 
							
						 
						
							
							
								
								Replace all instances of avcodec_alloc_frame() with av_frame_alloc().  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ecf442a58b 
								
							
								 
							
						 
						
							
							
								
								lavf: improve support for AVC-Intra files.  
							
							Generate extradata with SPS/PPS based on container dimensions.
Authors of this commit are: Reimar and Thomas Mundt
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d1c229cdbc 
								
							
								 
							
						 
						
							
							
								
								lavf: do not use int to store an int64  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ba68dd044 
								
							
								 
							
						 
						
							
							
								
								lavf: remove unreliable timestamp guessing heuristic  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce67f442be 
								
							
								 
							
						 
						
							
							
								
								lavf: Avoid setting avg_frame_rate if delta_dts is negative  
							
							This avoids setting avg_frame_rate to invalid (negative)
values.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org 
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5626f994f2 
								
							
								 
							
						 
						
							
							
								
								avformat: Use av_reallocp() where suitable  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								68b4677420 
								
							
								 
							
						 
						
							
							
								
								lavf: Make probe_codec return an error code  
							
							This allows handling errors from av_realloc properly.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f369b9356c 
								
							
								 
							
						 
						
							
							
								
								avformat: Use av_reallocp_array() where suitable  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								26f027fba1 
								
							
								 
							
						 
						
							
							
								
								lavf: fix the comparison in an overflow check  
							
							CC: libav-stable@libav.org 
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								df33a58e53 
								
							
								 
							
						 
						
							
							
								
								lavf: avoid integer overflow when estimating bitrate  
							
							Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fab694dd39 
								
							
								 
							
						 
						
							
							
								
								lavf: move a variable declaration to the block where it's used  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7950e519bb 
								
							
								 
							
						 
						
							
							
								
								Disable deprecation warnings for cases where a replacement is available  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c5b46a064d 
								
							
								 
							
						 
						
							
							
								
								lavf: Don't interpret just slightly broken timestamps as wraparound  
							
							This avoids breaking some slightly incorrect (dts > pts) timestamps
in sample HLS streams from Apple.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e740929a07 
								
							
								 
							
						 
						
							
							
								
								lavf: Make sure avg_frame_rate can be calculated without integer overflow  
							
							If either of the deltas is too large for the multiplications to
succeed, don't use this for setting the avg frame rate.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Cc: libav-stable@libav.org 
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								df9f22d42b 
								
							
								 
							
						 
						
							
							
								
								avf: move url utility functions in a separate file  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								12db891dcd 
								
							
								 
							
						 
						
							
							
								
								avf: move ff_write_chained to mux.c  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								508998f7d5 
								
							
								 
							
						 
						
							
							
								
								avf: move riff tags accessors where they belong  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ec7c51c786 
								
							
								 
							
						 
						
							
							
								
								avf: move ff_http_match_no_proxy to network  
							
							It is only used by network protocols. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								afc8685395 
								
							
								 
							
						 
						
							
							
								
								avf: split off format register and lookup function  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c330eba84c 
								
							
								 
							
						 
						
							
							
								
								lavf: preserve side data when parsing packets.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2832ea26f3 
								
							
								 
							
						 
						
							
							
								
								Remove commented-out debug #define cruft  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e0f8be6413 
								
							
								 
							
						 
						
							
							
								
								avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5f8873620 
								
							
								 
							
						 
						
							
							
								
								silly typo fixes  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dbb1425811 
								
							
								 
							
						 
						
							
							
								
								lavf: make sure stream probe data gets freed.  
							
							Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa3c779984 
								
							
								 
							
						 
						
							
							
								
								lavf: sanity check size in av_get/append_packet().  
							
							To avoid allocating ridiculous amounts of memory for corrupted files,
read the input in chunks limited to filesize or an arbitrary large
amount when that is not known (chosen to be 50M). 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								85a5bc054c 
								
							
								 
							
						 
						
							
							
								
								lavf: remove disabled FF_API_R_FRAME_RATE cruft  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b486ab13b 
								
							
								 
							
						 
						
							
							
								
								lavf: remove disabled FF_API_AV_GETTIME cruft  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								435c2a31ad 
								
							
								 
							
						 
						
							
							
								
								lavf: remove disabled FF_API_READ_PACKET cruft  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a7c4daf46 
								
							
								 
							
						 
						
							
							
								
								lavf: remove disabled FF_API_CLOSE_INPUT_FILE cruft  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1afddbe59e 
								
							
								 
							
						 
						
							
							
								
								avpacket: use AVBuffer to allow refcounting the packets.  
							
							This will allow us to avoid copying the packets in many cases.
This breaks ABI. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								efa7f42020 
								
							
								 
							
						 
						
							
							
								
								Use the avstring.h locale-independent character type functions  
							
							Make sure the behavior does not change with the locale.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								de9cd1b173 
								
							
								 
							
						 
						
							
							
								
								lavf: Handle the environment variable no_proxy more properly  
							
							The handling of the environment variable no_proxy, present since
one of the initial commits (de6d9b6404 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91ac403b13 
								
							
								 
							
						 
						
							
							
								
								lavf: fix arithmetic overflows in avformat_seek_file()  
							
							The values compared here can be more than INT64_MAX apart.  Since the
difference is always positive, converting to uint64_t before subtracting
gives the correct result without overflows.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb45553f57 
								
							
								 
							
						 
						
							
							
								
								Remove pointless #undefs of previously forbidden functions.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								261e9348ef 
								
							
								 
							
						 
						
							
							
								
								lavf: add a common function for selecting a pcm codec from parameters  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7709ce029a 
								
							
								 
							
						 
						
							
							
								
								lavf: avoid integer overflow in ff_compute_frame_duration()  
							
							Scaling the denominator instead of the numerator if it is too large
loses precision. Fixes an assert caused by a negative frame duration in
the fuzzed sample nasa-8s2.ts_s202310.
CC: libav-stable@libav.org  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								33893e6abc 
								
							
								 
							
						 
						
							
							
								
								url: Handle relative urls starting with two slashes  
							
							This is defined by RFC 3986 section 5.4.1 to be handled this way.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eea003814c 
								
							
								 
							
						 
						
							
							
								
								url: Handle relative urls being just a new query string  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago