028cc42a16 
								
							
								 
							
						 
						
							
							
								
								read_gab2_sub: fix null pointer dereference  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ccf771cd79 
								
							
								 
							
						 
						
							
							
								
								Correctly skip strf tag for subtitles when decoding avi.  
							
							Fixes ticket #1797 . 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								be89693ddc 
								
							
								 
							
						 
						
							
							
								
								avidec: try to support oddly muxed MMES stream  
							
							Fixes ticket1804
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d48dd01fd 
								
							
								 
							
						 
						
							
							
								
								avidec: remove unneeded null check  
							
							Fixes CID29555
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2fed05f53a 
								
							
								 
							
						 
						
							
							
								
								avoid more "0xFF << 24" as it is considered a integer overflow in C99  
							
							missed these in my previous search and replace
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e3301459f6 
								
							
								 
							
						 
						
							
							
								
								avidec: Use sample size in case incorrect timestamps for aac in AVI (Ticket  #1755 )  
							
							In some case for aac in AVI, avidec extracts wrong PTS value.
(www.ffmpeg.org/trac/ffmpeg/ticket/1755)
I found additional case(ss=4096) and add condition.
Problematic file link : https://docs.google.com/open?id=0B6r7ZfWFIypCOTdZQUtGVEdJUUE 
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a104bf641 
								
							
								 
							
						 
						
							
							
								
								Fix broken timestamps for some mp3 in avi samples.  
							
							Mostly based on 73ad355#606 . 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73ad355d23 
								
							
								 
							
						 
						
							
							
								
								avidec: fix 10l typo  
							
							found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								229e33a2b6 
								
							
								 
							
						 
						
							
							
								
								avidec: override sample size of 1024 for VBR AAC  
							
							Fixes Ticket1755
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72eaba5e4f 
								
							
								 
							
						 
						
							
							
								
								avformat: Convert some commented-out printf/av_log instances to av_dlog  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								11d4e92ed9 
								
							
								 
							
						 
						
							
							
								
								avformat: Remove non-compiling and/or silly commented-out printf/av_log statements  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0af49a63c7 
								
							
								 
							
						 
						
							
							
								
								avidec: use actually read size instead of requested size  
							
							Fixes CVE-2012-2788 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eeade678f0 
								
							
								 
							
						 
						
							
							
								
								avidec: return 0, not packet size from read_packet().  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8d07742cb1 
								
							
								 
							
						 
						
							
							
								
								avidec: workaround aac with broken block align  
							
							Fixes Ticket1742
Based on patch by: Nikola Vranic <nikola.vranic@rt-rk.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								108957c661 
								
							
								 
							
						 
						
							
							
								
								avidec/guess_ni_flag: fix harmless integer overflow  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								08277a45c3 
								
							
								 
							
						 
						
							
							
								
								lavf: add missing new line to some error messages  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba2cf854d0 
								
							
								 
							
						 
						
							
							
								
								lavc: move AVRn to a seperate decoder.  
							
							The special cases in demuxers and decoders are a mess otherwise (and more
would be needed to support it fully)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8993c25695 
								
							
								 
							
						 
						
							
							
								
								avidec: fix AVStream.info memleak with dv.  
							
							Fixes Ticket1334
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a80ce390df 
								
							
								 
							
						 
						
							
							
								
								avidec: parse INFO tags at the end  
							
							Fixes Ticket1123
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0177b7d23a 
								
							
								 
							
						 
						
							
							
								
								Improve descriptiveness of a number of codec and container long names  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								83d6ad3616 
								
							
								 
							
						 
						
							
							
								
								avidec: Mark first frame as keyframe in case there are no keyframes.  
							
							This fixes seeking in filecopy.avi of Ticket504
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e3c2d83183 
								
							
								 
							
						 
						
							
							
								
								avidec: switch to av_assert  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b9446e932 
								
							
								 
							
						 
						
							
							
								
								avidec: add .category  
							
							While here make .class_name consistent with other AVClass.
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7238ed6c84 
								
							
								 
							
						 
						
							
							
								
								avidec: use designated initializers for AVClass  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a982e5a031 
								
							
								 
							
						 
						
							
							
								
								avidec: make scale and rate unsigned.  
							
							The specs say they are unsigned 32bit integers. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								57778f61d0 
								
							
								 
							
						 
						
							
							
								
								avidec: fix odd extradata size case.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								76853a3e0c 
								
							
								 
							
						 
						
							
							
								
								libavformat: ff_get_bmp_header: return esize too  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d0f78e77e1 
								
							
								 
							
						 
						
							
							
								
								avidec: simplify avi_read_idx1()  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								212f129fb8 
								
							
								 
							
						 
						
							
							
								
								avidec: discard 0 packets even for sample_size==0 NI  
							
							Fixes Ticket1332
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								455fcf29b8 
								
							
								 
							
						 
						
							
							
								
								avidec: zero extradata padding  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								096231d497 
								
							
								 
							
						 
						
							
							
								
								avidec: Dont crash on avi packets that belong to dv streams in dv in avi  
							
							Fixes null pointer dereference
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9789b6ca48 
								
							
								 
							
						 
						
							
							
								
								avidec: document early_exit argument  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d05625bd04 
								
							
								 
							
						 
						
							
							
								
								avidec: handle 0-size packets that exist only in index.  
							
							0-sized packets are used to implement variable fps.
However there seems to be a variation where these are not
even stored in the main file but as 0-size index entries
only.
This fixes the sample in trac issue #957, it now plays both
the same ways as in MPlayer and in a way that looks correct.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c41ac87047 
								
							
								 
							
						 
						
							
							
								
								avidec: update size when packet is shrunk  
							
							Fixes out of array read
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8df774be88 
								
							
								 
							
						 
						
							
							
								
								avidec: better NI detection.  
							
							The new code detects NI avis by analyzing the index.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c90cc2ef2 
								
							
								 
							
						 
						
							
							
								
								lavf: deprecate av_read_packet().  
							
							The caller can achieve the same effect (i.e. getting raw unparsed/mangled
packets) with av_read_frame() and AVFMT_FLAG_NOPARSE |
AVFMT_FLAG_NOFILLIN 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6380afa6a 
								
							
								 
							
						 
						
							
							
								
								avidec: Reduce log level for out of index error message.  
							
							Its otherwise spaming every time one tries to seek to outside
the file.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c36010c286 
								
							
								 
							
						 
						
							
							
								
								avidec: remove harmless duplicate code.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								167f3b8de7 
								
							
								 
							
						 
						
							
							
								
								libavformat: Add an ff_ prefix to some lavf internal symbols  
							
							Prefix the functions/tables brktimegm, pcm_read_seek,
dv_offset_reset, voc_get_packet, codec_movaudio_tags,
codec_movvideo_tags.
After this, lavf has no global symbols without the proper prefix.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b8c1655882 
								
							
								 
							
						 
						
							
							
								
								avidec: print informative error messages if seeking fails.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e9651d106 
								
							
								 
							
						 
						
							
							
								
								lavf: remove AVFormatParameters from AVFormatContext.read_header signature  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								28d634711b 
								
							
								 
							
						 
						
							
							
								
								avidec: Fix regression with chunks that are larger than the file.  
							
							This commit makes the check specific to the case that needs it.
Regression was introduced by
commit 62adc60b97 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								14d94a1952 
								
							
								 
							
						 
						
							
							
								
								avidec: Fix use of stream_index before validation of its range.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4f11bed7a1 
								
							
								 
							
						 
						
							
							
								
								avidec: fix "avidec.c:362: warning: st may be used uninitialized in this function"  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b89f8774f2 
								
							
								 
							
						 
						
							
							
								
								avidec: migrate last of lavf from FF_ER_* to AV_EF_*  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b26f0ee39f 
								
							
								 
							
						 
						
							
							
								
								avidec: XMPG support  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a63a86fd6f 
								
							
								 
							
						 
						
							
							
								
								Fixes issue 890: OOM with zmbv file  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								64cafe340b 
								
							
								 
							
						 
						
							
							
								
								Make the avi palette opaque.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c7f75bd84 
								
							
								 
							
						 
						
							
							
								
								avidec: move eof check before continue.  
							
							Fixes a infinite loop
Fixes half of Ticket800
Bug found by Oana Stratulat
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago