Paul B Mahol 
							
						 
					 
					
						
						
							
						
						ad56535dd1 
					 
					
						
						
							
							avformat: fix orig_pos type to match pkt->pos  
						
						... 
						
						
						
						Signed-off-by: Paul B Mahol <onemda@gmail.com > 
						
						
					 
					
						2013-04-23 13:56:34 +00:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						833bc6678f 
					 
					
						
						
							
							avformat: change seeking index consistency asserts to av_asserts  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-04-19 17:44:07 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						020c287f5e 
					 
					
						
						
							
							avformat: Dont stop probing before the whole id3 tag is read  
						
						... 
						
						
						
						When a file appears to start with a id3 tag and appears to
also be something else, then try to increase the probe buffer
size if its below its limit.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-04-18 23:48:32 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						ab2989378f 
					 
					
						
						
							
							Merge commit 'dbb1425811a672eddf4acf0513237cdf20f83756'  
						
						... 
						
						
						
						* commit 'dbb1425811a672eddf4acf0513237cdf20f83756':
  lavf: make sure stream probe data gets freed.
  avfiltergraph: set deprecated filter_count.
Conflicts:
	libavformat/utils.c
See: 44a7a6300dmichaelni@gmx.at > 
						
						
					 
					
						2013-04-04 13:24:33 +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 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						e10f5bd05c 
					 
					
						
						
							
							avformat: Add a mechanism to allow demuxers to detect byte based seeking.  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-04-04 04:04:24 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						ccc25378bd 
					 
					
						
						
							
							avformat: fix atomatic format selection for (s)segment  
						
						... 
						
						
						
						Fixes Ticket2236
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-04-02 21:52:40 +02:00 
						 
				 
			
				
					
						
							
							
								Carl Eugen Hoyos 
							
						 
					 
					
						
						
							
						
						4d3c5d3b65 
					 
					
						
						
							
							Do not show "Estimating duration from bitrate" warning if no duration was estimated.  
						
						
						
						
					 
					
						2013-03-30 08:24:51 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						ef7b6b489a 
					 
					
						
						
							
							ffmpeg/avformat: factor av_guess_frame_rate() out  
						
						... 
						
						
						
						This will be used in ffplay
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-29 17:40:28 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						ea9a6709a9 
					 
					
						
						
							
							estimate_timings_from_bit_rate: Check timebase and bitrate  
						
						... 
						
						
						
						Fixes integer overflow and assertion failure
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-28 01:45:01 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						460d30406b 
					 
					
						
						
							
							avformat: change some seeking related assert to av_asserts  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-27 22:53:57 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						710cd0fddf 
					 
					
						
						
							
							avformat: Fix infinite probing that reads the whole file  
						
						... 
						
						
						
						Fixes: otonajoshi_avformat_tries_to_load_whole.ts
Reported-by: JEEB (on IRC)
Thanks-to: nevcairiel
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-20 17:57:00 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						06a43baecd 
					 
					
						
						
							
							av_find_stream_info: change read_size to 64bit  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-20 17:23:23 +01:00 
						 
				 
			
				
					
						
							
							
								Nicolas George 
							
						 
					 
					
						
						
							
						
						0d09aa9d8e 
					 
					
						
						
							
							lavf: avformat_seek_file(): validate stream_index.  
						
						
						
						
					 
					
						2013-03-20 13:35:24 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						73ef12757b 
					 
					
						
						
							
							append_packet_chunked: remove outcommented code  
						
						... 
						
						
						
						our variant works fine and should be better
also remove related unused variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-18 17:54:01 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						07d4f557e5 
					 
					
						
						
							
							append_packet_chunked: Remove unused initialization.  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-16 17:03:41 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						e066fb54cb 
					 
					
						
						
							
							Merge commit 'aa3c77998404cc32233cb76e961ca27db8565459'  
						
						... 
						
						
						
						* commit 'aa3c77998404cc32233cb76e961ca27db8565459':
  lavf: sanity check size in av_get/append_packet().
Conflicts:
	libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-16 15:38:13 +01: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 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						06a8350599 
					 
					
						
						
							
							Merge commit '7b486ab13bfcfa88a7cd92586de50e49966ec292'  
						
						... 
						
						
						
						* commit '7b486ab13bfcfa88a7cd92586de50e49966ec292':
  lavf: remove disabled FF_API_AV_GETTIME cruft
  lavf: remove disabled FF_API_INTERLEAVE_PACKET cruft
Conflicts:
	libavformat/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-13 12:37:03 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						c292e340ed 
					 
					
						
						
							
							avformat: keep r_frame_rate  
						
						... 
						
						
						
						This field is used and nothing equivalent exists
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-12 15:28:23 +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 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						2653e12520 
					 
					
						
						
							
							Merge commit '1afddbe59e96af75f1c07605afc95615569f388f'  
						
						... 
						
						
						
						* commit '1afddbe59e96af75f1c07605afc95615569f388f':
  avpacket: use AVBuffer to allow refcounting the packets.
Conflicts:
	libavcodec/avpacket.c
	libavcodec/utils.c
	libavdevice/v4l2.c
	libavformat/avidec.c
	libavformat/flacdec.c
	libavformat/id3v2.c
	libavformat/matroskaenc.c
	libavformat/mux.c
	libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-08 19:12:03 +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 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						cada996528 
					 
					
						
						
							
							avformat: Fix apics with aac  
						
						... 
						
						
						
						Fixes Ticket2318
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-07 13:55:43 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						7992bdbeb4 
					 
					
						
						
							
							update_stream_timings: check bitrate for being in range.  
						
						... 
						
						
						
						Fixes numerical overflow
Fixes Ticket2089
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-04 18:54:00 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						faa0068a87 
					 
					
						
						
							
							avformat: Make duration estimation from pts more robust  
						
						... 
						
						
						
						Ignore durations which differ significantly from the previous
Fixes Ticket2018
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-04 18:01:32 +01:00 
						 
				 
			
				
					
						
							
							
								Reimar Döffinger 
							
						 
					 
					
						
						
							
						
						88d55b827d 
					 
					
						
						
							
							Remove incorrect use of ctype.h functions.  
						
						... 
						
						
						
						As far as I can tell the code should not change behaviour
depending on locale in any of these places.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de > 
						
						
					 
					
						2013-03-03 21:44:10 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						f2cb993139 
					 
					
						
						
							
							avformat: gather aspect ratio from rv30/40 in find_stream_info  
						
						... 
						
						
						
						Fixes Ticket1550
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-03-03 18:41:16 +01:00 
						 
				 
			
				
					
						
							
							
								Nicolas George 
							
						 
					 
					
						
						
							
						
						89f9f69e3f 
					 
					
						
						
							
							lavf: rescale duration for chained muxers.  
						
						... 
						
						
						
						Fix trac ticket #2300  because the duration of the segments
was computed using the timestamp of the last packet plus its
duration using the 1/90000 default time base instead of using
the chained muxer time base. 
						
						
					 
					
						2013-02-28 19:20:25 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						03678a32bc 
					 
					
						
						
							
							Merge remote-tracking branch 'qatar/master'  
						
						... 
						
						
						
						* qatar/master:
  lavf: Add a fate test for the noproxy pattern matching
  lavf: Handle the environment variable no_proxy more properly
Conflicts:
	libavformat/Makefile
	libavformat/internal.h
	libavformat/tls.c
	libavformat/utils.c
	libavformat/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-02-28 13:13:04 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						1c6477f30f 
					 
					
						
						
							
							Revert "lavf/utils: add support for special characters encoding in URL"  
						
						... 
						
						
						
						This reverts commit 4a8fc1d83b 
						
						
					 
					
						2013-02-28 01:29:12 +01:00 
						 
				 
			
				
					
						
							
							
								Senthilnathan M 
							
						 
					 
					
						
						
							
						
						4a8fc1d83b 
					 
					
						
						
							
							lavf/utils: add support for special characters encoding in URL  
						
						... 
						
						
						
						In particular, fix trac ticket #2031 .
Signed-off-by: Senthilnathan M <senthilnathan.maadasamy@gmail.com >
Signed-off-by: Stefano Sabatini <stefasab@gmail.com > 
						
						
					 
					
						2013-02-28 00:39:17 +01: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 (de6d9b6404martin@martin.st > 
						
						
					 
					
						2013-02-27 21:32:13 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						82d79289db 
					 
					
						
						
							
							avformat: Allocate duration_error separately  
						
						... 
						
						
						
						This significantly reduces the memory needed per AVStream when the
array is not needed.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-02-23 23:15:09 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						6cd650dbd2 
					 
					
						
						
							
							ff_gen_search: Fix finding the maximum timestamp in a really small file  
						
						... 
						
						
						
						Fixes Assertion failure
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-02-18 20:37:17 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						695a766bff 
					 
					
						
						
							
							ff_read_timestamp: check stream_index before using it as array index  
						
						... 
						
						
						
						Fixes out of array read
Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-02-18 20:37:17 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						4a6fa7963b 
					 
					
						
						
							
							lavf: dont try to find fps for attached pictures  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-02-15 03:19:18 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						a8e748eee5 
					 
					
						
						
							
							lavf: add seek2any to allow forcing seeking to non keyframes via AVOptions  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-02-07 21:54:41 +01:00 
						 
				 
			
				
					
						
							
							
								Stefano Sabatini 
							
						 
					 
					
						
						
							
						
						176b72a28c 
					 
					
						
						
							
							lavf/utils: provide feedback in case of invalid probe size  
						
						... 
						
						
						
						Log message in case the max_probe_size value in av_probe_input_buffer()
is smaller than the minimum accepted value. 
						
						
					 
					
						2013-01-19 00:13:52 +01:00 
						 
				 
			
				
					
						
							
							
								Carl Eugen Hoyos 
							
						 
					 
					
						
						
							
						
						a1a707f728 
					 
					
						
						
							
							Add a new function av_codec_get_tag2().  
						
						... 
						
						
						
						av_codec_get_tag() may return 0 both in case a codec_tag was
found and if no codec_tag was found.
The new function does not have this ambiguity. 
						
						
					 
					
						2013-01-17 20:44:33 +01:00 
						 
				 
			
				
					
						
							
							
								Stefano Sabatini 
							
						 
					 
					
						
						
							
						
						78e27c44c3 
					 
					
						
						
							
							lavf/utils: clarify/extend messages in avformat_find_stream_info()  
						
						... 
						
						
						
						In particular, specify the unit of the shown values in case the max probe
size/duration is reached. 
						
						
					 
					
						2013-01-13 15:09:09 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						db1ba2213f 
					 
					
						
						
							
							lavf: use avpriv_find_pix_fmt instead of ff_  
						
						... 
						
						
						
						Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-01-12 14:09:08 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						953061ed95 
					 
					
						
						
							
							lavf/utils: more complete dts checks  
						
						... 
						
						
						
						Fixes division by zero
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-01-08 00:28:35 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						2713e43ac8 
					 
					
						
						
							
							ff_get_audio_frame_size: try to fix wma in wav  
						
						... 
						
						
						
						Fixes Ticket1905, Ticket2114
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-01-06 19:46:04 +01:00 
						 
				 
			
				
					
						
							
							
								Carl Eugen Hoyos 
							
						 
					 
					
						
						
							
						
						c52e07bb6e 
					 
					
						
						
							
							Fix AVCI50 SPS to specify a SAR of 4:3 instead of 3:4.  
						
						
						
						
					 
					
						2013-01-05 09:20:03 +01:00 
						 
				 
			
				
					
						
							
							
								Reimar Döffinger 
							
						 
					 
					
						
						
							
						
						c5142a95a5 
					 
					
						
						
							
							Support more AVC-Intra files  
						
						... 
						
						
						
						Followup to http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/151321 
patch by Reimar and Thomas Mundt fixes some AVC-Intra files from
different tickets.
It does not fix http://samples.ffmpeg.org/ffmpeg- 
bugs/trac/ticket524/AVCI50.mov
Authors of this commit are: Reimar and Thomas Mundt
Patch and commit message mostly taken from ffmpeg-devel, mail by Carl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-01-03 21:48:38 +01:00