Luca Barbato 
							
						 
					 
					
						
						
						
						
							
						
						
							dcbfb7805a 
							
						 
					 
					
						
						
							
							probe: Support AAC_LATM in set_codec_from_probe_data  
						
						
						
						
					 
					
						2014-05-03 18:51:37 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							1eb57e1d9b 
							
						 
					 
					
						
						
							
							lavc: eliminate tb_unreliable()  
						
						... 
						
						
						
						If framerate estimation is enabled, it makes sense to always apply it,
instead of limiting it to a few specific cases. 
						
						
					 
					
						2014-04-28 11:34:59 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							f9157463db 
							
						 
					 
					
						
						
							
							lavf: do not use the parser duration for video  
						
						... 
						
						
						
						The parser has no way of knowing video duration, and therefore no video
parsers set it. 
						
						
					 
					
						2014-04-22 07:46:03 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							25b3258656 
							
						 
					 
					
						
						
							
							lavf: add an AVStream field for exporting stream-global side data  
						
						
						
						
					 
					
						2014-03-24 06:07:51 +01:00 
						 
				 
			
				
					
						
							
							
								Luca Barbato 
							
						 
					 
					
						
						
						
						
							
						
						
							db9d39b4b5 
							
						 
					 
					
						
						
							
							avformat: Report the duration analysis reached  
						
						
						
						
					 
					
						2014-03-11 21:55:11 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							33c859c142 
							
						 
					 
					
						
						
							
							lavf: ignore attachment streams for interleaving purposes  
						
						... 
						
						
						
						Those streams should never get any packets by definition. 
						
						
					 
					
						2014-02-04 11:17:06 +01:00 
						 
				 
			
				
					
						
							
							
								Janne Grunau 
							
						 
					 
					
						
						
						
						
							
						
						
							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(). 
						
						
					 
					
						2014-01-31 11:09:10 +01:00 
						 
				 
			
				
					
						
							
							
								Diego Biurrun 
							
						 
					 
					
						
						
						
						
							
						
						
							d67cfdeb53 
							
						 
					 
					
						
						
							
							avformat: utils: Refactor duplicated PRINT macro  
						
						
						
						
					 
					
						2014-01-29 17:04:35 +01:00 
						 
				 
			
				
					
						
							
							
								Diego Biurrun 
							
						 
					 
					
						
						
						
						
							
						
						
							50ecf15712 
							
						 
					 
					
						
						
							
							avformat: utils: K&R formatting cosmetics  
						
						... 
						
						
						
						Also adjust some comment wording / spelling and reorder header #includes. 
						
						
					 
					
						2014-01-26 18:09:00 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
						
						
					 
					
						2014-01-13 15:00:09 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							8b76362836 
							
						 
					 
					
						
						
							
							lavf: use a fixed width type  
						
						... 
						
						
						
						It's shorter and more consistent with the rest of the code. 
						
						
					 
					
						2014-01-13 15:00:09 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							c1868e7ee7 
							
						 
					 
					
						
						
							
							lavf: simplify handling of offset in av_probe_input_buuffer()  
						
						
						
						
					 
					
						2014-01-13 15:00:09 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							3867f3718b 
							
						 
					 
					
						
						
							
							lavf: remove a pointless check  
						
						... 
						
						
						
						AVStream.codec is always non-NULL 
						
						
					 
					
						2014-01-06 08:21:53 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							281a40e18f 
							
						 
					 
					
						
						
							
							lavf: remove an unneeded call to avcodec_get_frame_defaults().  
						
						... 
						
						
						
						avcodec_decode_*() resets the frame itself. 
						
						
					 
					
						2013-12-11 20:39:55 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							eb891b3114 
							
						 
					 
					
						
						
							
							Replace all uses of avcodec_free_frame with av_frame_free().  
						
						
						
						
					 
					
						2013-12-11 20:39:54 +01:00 
						 
				 
			
				
					
						
							
							
								Diego Biurrun 
							
						 
					 
					
						
						
						
						
							
						
						
							8f8bc92365 
							
						 
					 
					
						
						
							
							Add missing #includes for *INT64_MAX and *INT64_C  
						
						
						
						
					 
					
						2013-11-23 21:55:52 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							5b9c3b4505 
							
						 
					 
					
						
						
							
							Replace all instances of avcodec_alloc_frame() with av_frame_alloc().  
						
						
						
						
					 
					
						2013-11-16 12:44:20 +01:00 
						 
				 
			
				
					
						
							
							
								Reimar Döffinger 
							
						 
					 
					
						
						
						
						
							
						
						
							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> 
						
						
					 
					
						2013-11-14 18:59:39 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							d1c229cdbc 
							
						 
					 
					
						
						
							
							lavf: do not use int to store an int64  
						
						
						
						
					 
					
						2013-11-01 21:01:32 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							2ba68dd044 
							
						 
					 
					
						
						
							
							lavf: remove unreliable timestamp guessing heuristic  
						
						
						
						
					 
					
						2013-10-28 09:28:19 +01:00 
						 
				 
			
				
					
						
							
							
								Martin Storsjö 
							
						 
					 
					
						
						
						
						
							
						
						
							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> 
						
						
					 
					
						2013-09-22 21:02:52 +03:00 
						 
				 
			
				
					
						
							
							
								Alexandra Khirnova 
							
						 
					 
					
						
						
						
						
							
						
						
							5626f994f2 
							
						 
					 
					
						
						
							
							avformat: Use av_reallocp() where suitable  
						
						... 
						
						
						
						Signed-off-by: Diego Biurrun <diego@biurrun.de> 
						
						
					 
					
						2013-09-18 18:28:38 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandra Khirnova 
							
						 
					 
					
						
						
						
						
							
						
						
							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> 
						
						
					 
					
						2013-09-16 22:28:23 +03:00 
						 
				 
			
				
					
						
							
							
								Alexandra Khirnova 
							
						 
					 
					
						
						
						
						
							
						
						
							f369b9356c 
							
						 
					 
					
						
						
							
							avformat: Use av_reallocp_array() where suitable  
						
						... 
						
						
						
						Signed-off-by: Diego Biurrun <diego@biurrun.de> 
						
						
					 
					
						2013-09-10 12:38:32 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							26f027fba1 
							
						 
					 
					
						
						
							
							lavf: fix the comparison in an overflow check  
						
						... 
						
						
						
						CC: libav-stable@libav.org 
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
						
						
					 
					
						2013-09-07 11:52:40 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							df33a58e53 
							
						 
					 
					
						
						
							
							lavf: avoid integer overflow when estimating bitrate  
						
						... 
						
						
						
						Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
						
						
					 
					
						2013-09-02 19:28:29 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							fab694dd39 
							
						 
					 
					
						
						
							
							lavf: move a variable declaration to the block where it's used  
						
						
						
						
					 
					
						2013-09-02 19:28:19 +02:00 
						 
				 
			
				
					
						
							
							
								Diego Biurrun 
							
						 
					 
					
						
						
						
						
							
						
						
							7950e519bb 
							
						 
					 
					
						
						
							
							Disable deprecation warnings for cases where a replacement is available  
						
						
						
						
					 
					
						2013-08-02 19:19:02 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
						
						
							
						
						
							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> 
						
						
					 
					
						2013-07-29 09:49:58 +03:00 
						 
				 
			
				
					
						
							
							
								Martin Storsjö 
							
						 
					 
					
						
						
						
						
							
						
						
							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> 
						
						
					 
					
						2013-07-15 21:39:24 +03:00 
						 
				 
			
				
					
						
							
							
								Luca Barbato 
							
						 
					 
					
						
						
						
						
							
						
						
							df9f22d42b 
							
						 
					 
					
						
						
							
							avf: move url utility functions in a separate file  
						
						
						
						
					 
					
						2013-06-16 15:01:39 +02:00 
						 
				 
			
				
					
						
							
							
								Luca Barbato 
							
						 
					 
					
						
						
						
						
							
						
						
							12db891dcd 
							
						 
					 
					
						
						
							
							avf: move ff_write_chained to mux.c  
						
						
						
						
					 
					
						2013-06-16 14:41:07 +02:00 
						 
				 
			
				
					
						
							
							
								Luca Barbato 
							
						 
					 
					
						
						
						
						
							
						
						
							508998f7d5 
							
						 
					 
					
						
						
							
							avf: move riff tags accessors where they belong  
						
						
						
						
					 
					
						2013-06-16 14:41:07 +02:00 
						 
				 
			
				
					
						
							
							
								Luca Barbato 
							
						 
					 
					
						
						
						
						
							
						
						
							ec7c51c786 
							
						 
					 
					
						
						
							
							avf: move ff_http_match_no_proxy to network  
						
						... 
						
						
						
						It is only used by network protocols. 
						
						
					 
					
						2013-06-16 14:41:00 +02:00 
						 
				 
			
				
					
						
							
							
								Luca Barbato 
							
						 
					 
					
						
						
						
						
							
						
						
							afc8685395 
							
						 
					 
					
						
						
							
							avf: split off format register and lookup function  
						
						
						
						
					 
					
						2013-06-16 14:00:40 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							c330eba84c 
							
						 
					 
					
						
						
							
							lavf: preserve side data when parsing packets.  
						
						
						
						
					 
					
						2013-05-28 08:00:07 +02:00 
						 
				 
			
				
					
						
							
							
								Diego Biurrun 
							
						 
					 
					
						
						
						
						
							
						
						
							2832ea26f3 
							
						 
					 
					
						
						
							
							Remove commented-out debug #define cruft  
						
						
						
						
					 
					
						2013-05-16 00:23:30 +02:00 
						 
				 
			
				
					
						
							
							
								Diego Biurrun 
							
						 
					 
					
						
						
						
						
							
						
						
							e0f8be6413 
							
						 
					 
					
						
						
							
							avformat: Add AVPROBE_SCORE_EXTENSION define and use where appropriate  
						
						
						
						
					 
					
						2013-05-04 21:43:06 +02:00 
						 
				 
			
				
					
						
							
							
								Diego Biurrun 
							
						 
					 
					
						
						
						
						
							
						
						
							a5f8873620 
							
						 
					 
					
						
						
							
							silly typo fixes  
						
						
						
						
					 
					
						2013-05-03 18:26:12 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							dbb1425811 
							
						 
					 
					
						
						
							
							lavf: make sure stream probe data gets freed.  
						
						... 
						
						
						
						Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
						
						
					 
					
						2013-04-04 07:54:00 +02:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							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). 
						
						
					 
					
						2013-03-15 20:05:04 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							85a5bc054c 
							
						 
					 
					
						
						
							
							lavf: remove disabled FF_API_R_FRAME_RATE cruft  
						
						
						
						
					 
					
						2013-03-11 18:23:50 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							7b486ab13b 
							
						 
					 
					
						
						
							
							lavf: remove disabled FF_API_AV_GETTIME cruft  
						
						
						
						
					 
					
						2013-03-11 18:23:18 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							435c2a31ad 
							
						 
					 
					
						
						
							
							lavf: remove disabled FF_API_READ_PACKET cruft  
						
						
						
						
					 
					
						2013-03-11 18:23:02 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							0a7c4daf46 
							
						 
					 
					
						
						
							
							lavf: remove disabled FF_API_CLOSE_INPUT_FILE cruft  
						
						
						
						
					 
					
						2013-03-11 18:22:45 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							1afddbe59e 
							
						 
					 
					
						
						
							
							avpacket: use AVBuffer to allow refcounting the packets.  
						
						... 
						
						
						
						This will allow us to avoid copying the packets in many cases.
This breaks ABI. 
						
						
					 
					
						2013-03-08 07:33:45 +01:00 
						 
				 
			
				
					
						
							
							
								Reimar Döffinger 
							
						 
					 
					
						
						
						
						
							
						
						
							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> 
						
						
					 
					
						2013-03-07 15:16:36 +02:00 
						 
				 
			
				
					
						
							
							
								Martin Storsjö 
							
						 
					 
					
						
						
						
						
							
						
						
							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), is inconsistent with
how many other applications and libraries interpret this
variable. Its bare presence does not indicate that the use of
proxies should be skipped, but it is some sort of pattern for
hosts that does not need using a proxy (e.g. for a local network).
As investigated by Rudolf Polzer, different libraries handle this
in different ways, some supporting IP address masks, some supporting
arbitrary globbing using *, some just checking that the pattern matches
the end of the hostname without regard for whether it actually is
the right domain or a domain that ends in the same string.
This simple logic should be pretty similar to the logic used by
lynx and curl.
Signed-off-by: Martin Storsjö <martin@martin.st> 
						
						
					 
					
						2013-02-27 21:32:13 +02:00 
						 
				 
			
				
					
						
							
							
								Mans Rullgard 
							
						 
					 
					
						
						
						
						
							
						
						
							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> 
						
						
					 
					
						2012-12-08 19:35:16 +00:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
						
						
							
						
						
							cb45553f57 
							
						 
					 
					
						
						
							
							Remove pointless #undefs of previously forbidden functions.  
						
						
						
						
					 
					
						2012-12-04 21:40:22 +01:00