29e97cd6c3 
								
							
								 
							
						 
						
							
							
								
								avformat/mov: Try to detect and support files with invalid sample sizes  
							
							Fixes Ticket2605
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5292dac34c 
								
							
								 
							
						 
						
							
							
								
								avformat/mov: Rename alt_sample_size so its name matches what it is  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7baef22fca 
								
							
								 
							
						 
						
							
							
								
								mov: set block_align for MACE 3:1 and MACE 6:1  
							
							fixes remuxing of audio track from mov to aifc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac9362c5d9 
								
							
								 
							
						 
						
							
							
								
								Move misplaced file author information where it belongs  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e26b066cd8 
								
							
								 
							
						 
						
							
							
								
								libspeex: support ZygoAudio (quality 10 mode)  
							
							Fixes "quality 10" mode from Ticket1873
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1ecdf8912b 
								
							
								 
							
						 
						
							
							
								
								avformat: av_log_ask_for_sample() ---> avpriv_request_sample()  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								85a5bc054c 
								
							
								 
							
						 
						
							
							
								
								lavf: remove disabled FF_API_R_FRAME_RATE cruft  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								56daf10e03 
								
							
								 
							
						 
						
							
							
								
								mov: use the format context for logging.  
							
							CC:libav-stable@libav.org 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ccaab9709 
								
							
								 
							
						 
						
							
							
								
								mov: fix self referencing timecode tracks  
							
							Fixes read after free.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								199683c898 
								
							
								 
							
						 
						
							
							
								
								mov: remove unused function  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59d40fc7e6 
								
							
								 
							
						 
						
							
							
								
								lavf/mov: skip version and flags attributes in mov_read_chan function  
							
							Fixes ticket #1764 .
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a84174f2d 
								
							
								 
							
						 
						
							
							
								
								mov: prevent double free if the caller replaces the io context.  
							
							Fixes Ticket2148
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c14f8a52b0 
								
							
								 
							
						 
						
							
							
								
								lavf/mov: fix timecode track reference usage.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d398f40b4 
								
							
								 
							
						 
						
							
							
								
								lavf/mov: simplify timecode track ref.  
							
							There can be only one track reference. The multiple tref handling is
handled at a different level. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								765158dd82 
								
							
								 
							
						 
						
							
							
								
								mov: fix parsing of the chap atom.  
							
							This was broken in 0d96ec19eb#2081 . 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67abe21c0b 
								
							
								 
							
						 
						
							
							
								
								mov: fix handling of odd sized yv12  
							
							Part 1 of 2 to fix Ticket339
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb2bab92e7 
								
							
								 
							
						 
						
							
							
								
								mov: handle h263 and flv1 for codec_tag 'H','2','6','3'  
							
							The sample in https://bugzilla.libav.org/show_bug.cgi?id=393  and
samples/F4V/H263_NM_f.mp4 both have codec_tag H263 for different
codecs. H263 is apparently used by Flash Media Server for Sorensen
Spark videos.
Patch based on commit 5442083b1c 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f540851ce3 
								
							
								 
							
						 
						
							
							
								
								mov: parse  @PRM  and  @PRQ  metadata tags  
							
							These tags describe the product and quicktime library version respectively.
Originate from Adobe Premier, but some other products use them. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8cc2fa1e5d 
								
							
								 
							
						 
						
							
							
								
								mov: validate number of DataReferenceBox entries against box size  
							
							Avoids a 2G memory allocation and parsing of random data in
mov_read_dref(). The fuzzed sample sample.mp4_s224424 triggers this. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80b6b31417 
								
							
								 
							
						 
						
							
							
								
								mov: compute avg_frame_rate only if duration is known  
							
							Fixes an assert in fuzzed sample sample.mp4_s265930. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5442083b1c 
								
							
								 
							
						 
						
							
							
								
								Support Sorenson Spark in f4v files streamed by Flash Media Server.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								261e9348ef 
								
							
								 
							
						 
						
							
							
								
								lavf: add a common function for selecting a pcm codec from parameters  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6305f7631 
								
							
								 
							
						 
						
							
							
								
								mov: set flags to indicate that byte wise seeking is not supported.  
							
							Fixes Ticket1831
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab82b77822 
								
							
								 
							
						 
						
							
							
								
								Fix possible NULL-pointer dereference when decoding mov files.  
							
							Fixes CID743440, introduced in 850e5c0 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8ee6db393c 
								
							
								 
							
						 
						
							
							
								
								mov: add more udta meta data recognition  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								850e5c041d 
								
							
								 
							
						 
						
							
							
								
								Read QuickTime version 1 audio fields in broken mov files.  
							
							Matrox XMIO capture boards write files with major brand "JUNK"
and compatible brand "qt  " that contain QuickTime version 1
audio fields.
Fixes ticket #1881 . 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								87d073eacc 
								
							
								 
							
						 
						
							
							
								
								mov: Dont try to calculate with unknown durations, fix division by 0  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4392e69ad4 
								
							
								 
							
						 
						
							
							
								
								mov: check stps correctly, avoid overreading 1 element.  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a903f8f087 
								
							
								 
							
						 
						
							
							
								
								Include libavutil/channel_layout.h instead of libavutil/audioconvert.h  
							
							Also reorder some other #include when applicable. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb3dc23705 
								
							
								 
							
						 
						
							
							
								
								mov: Make sure no streams after the header lack a timescale.  
							
							Fixes division by 0
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								58c2c17f1d 
								
							
								 
							
						 
						
							
							
								
								mov_probe: use correct variable  
							
							Fixes CID739867
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2fdc6f355c 
								
							
								 
							
						 
						
							
							
								
								Do not detect mov with maximum score if the atom size is too small.  
							
							Fixes mpegts-in-mov, ticket #987  / issue 2223. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fa190b3cd7 
								
							
								 
							
						 
						
							
							
								
								Improve MPEG-PS-in-MOV detection.  
							
							Fixes issue 1520. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								217193facd 
								
							
								 
							
						 
						
							
							
								
								bavformat/mov: add {} to complex ifs  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7abf394814 
								
							
								 
							
						 
						
							
							
								
								mov.c: Check for stsd + m1s tag indicating MOV-wrapped MPEG-PS, and force continued probing if found.  
							
							Fixes Ticket241
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a4fe661157 
								
							
								 
							
						 
						
							
							
								
								mov_probe: fix integer overflows  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								adbb75dbd8 
								
							
								 
							
						 
						
							
							
								
								mov: fix time types related to mov_metadata_creation_time  
							
							Fixes Ticket1817
Based on patch by: Przemyslaw Wesolek <przemyslaw.wesolek@go.art.pl>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d55a40b00 
								
							
								 
							
						 
						
							
							
								
								mov: print warning if ff_get_wav_header() fails  
							
							Fixes CID717497
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d067e25437 
								
							
								 
							
						 
						
							
							
								
								mov: fix integer avoption types  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f7f5370b4b 
								
							
								 
							
						 
						
							
							
								
								mov: add option to ignore edit lists.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								594b1fcb28 
								
							
								 
							
						 
						
							
							
								
								mov: add av_dlog() to dump edit lists.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3ceeb01c06 
								
							
								 
							
						 
						
							
							
								
								mov: only print multiple edit lists warning for actually unsupported cases  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0209facd2 
								
							
								 
							
						 
						
							
							
								
								mov: remove default of 1024 sample skip for aac.  
							
							It is not correct in all cases and it is less predictable than a skip of 0
for user applications.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								168bc5f2c5 
								
							
								 
							
						 
						
							
							
								
								mov: fix 32/64 format type  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d17d0ec8c2 
								
							
								 
							
						 
						
							
							
								
								mov: support random access point grouping  
							
							Frames described by this grouping are the starter of a closed or
an open GOP.
This is useful for open GOP of H.264 stream which is not described
by sync sample atom.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9888ffb1ce 
								
							
								 
							
						 
						
							
							
								
								mov: check for EOF in long lasting loops  
							
							A quite widespread pattern in the demuxer is read a 32bit unsigned
integer and then loop till this value is reached.
Checking for EOF prevents pathological situations. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5ea623b36 
								
							
								 
							
						 
						
							
							
								
								mov: stsd entries must be at least 16 byte  
							
							Fix near infinite loop in stsd parsing.
Bug found by: Diana Elena Muscalu
The size is unsigned according the specification.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago