zhaoxiu.zeng 
							
						 
					 
					
						
						
							
						
						213ddcb029 
					 
					
						
						
							
							avformat/avidec: cleanup include  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2015-03-15 13:03:26 +01:00 
						 
				 
			
				
					
						
							
							
								zhaoxiu.zeng 
							
						 
					 
					
						
						
							
						
						bf696e265a 
					 
					
						
						
							
							avformat/avidec: use avpriv_find_start_code in avi_read_packet()  
						
						... 
						
						
						
						Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2015-03-15 13:02:57 +01:00 
						 
				 
			
				
					
						
							
							
								Carl Eugen Hoyos 
							
						 
					 
					
						
						
							
						
						2e0b5f5c90 
					 
					
						
						
							
							lavf: Do not list mov-only codecs in riff.c.  
						
						... 
						
						
						
						Instead check for all mov code-points when demuxing avi
and print a warning if a video codec is found like this.
Fixes a regression similar to the one described in ticket #4307 . 
						
						
					 
					
						2015-03-13 08:49:03 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						8c013a9e55 
					 
					
						
						
							
							avformat/avidec: Check avio_read() return before using the results for meta-data  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2015-03-05 19:38:20 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						8a048fe6f8 
					 
					
						
						
							
							avformat/avidec: initialize header array  
						
						... 
						
						
						
						Fixes use of uninitialized memory in case read fails
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2015-03-05 18:41:03 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						a0fe1a25fa 
					 
					
						
						
							
							Merge commit 'daf8cf358a098a903d59adb6c0d0cc3262a8c93e'  
						
						... 
						
						
						
						* commit 'daf8cf358a098a903d59adb6c0d0cc3262a8c93e':
  avformat: Don't anonymously typedef structs
Conflicts:
	libavformat/adtsenc.c
	libavformat/aiffenc.c
	libavformat/avidec.c
	libavformat/gif.c
	libavformat/iff.c
	libavformat/img2dec.c
	libavformat/jvdec.c
	libavformat/matroskadec.c
	libavformat/udp.c
	libavformat/wtvdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2015-02-14 21:07:40 +01:00 
						 
				 
			
				
					
						
							
							
								Diego Biurrun 
							
						 
					 
					
						
						
							
						
						daf8cf358a 
					 
					
						
						
							
							avformat: Don't anonymously typedef structs  
						
						
						
						
					 
					
						2015-02-14 10:13:47 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						be023405a7 
					 
					
						
						
							
							Merge commit 'f771b3ab5d3c0b763ee356152be550f4121babd0'  
						
						... 
						
						
						
						* commit 'f771b3ab5d3c0b763ee356152be550f4121babd0':
  avidec: do not export stream_codec_tag
Conflicts:
	libavformat/avidec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2015-01-27 16:17:42 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						f771b3ab5d 
					 
					
						
						
							
							avidec: do not export stream_codec_tag  
						
						... 
						
						
						
						Handle its only existing use case internally. 
						
						
					 
					
						2015-01-27 09:13:45 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						0d7a14e236 
					 
					
						
						
							
							avformat/avidec: optimize probe  
						
						... 
						
						
						
						about 2x as fast
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-12-23 16:32:26 +01:00 
						 
				 
			
				
					
						
							
							
								Thomas Volkert 
							
						 
					 
					
						
						
							
						
						00d7555f34 
					 
					
						
						
							
							wavdec: RIFX file format support  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-12-18 00:10:35 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						51b193214d 
					 
					
						
						
							
							avformat/avidec: Use av_freep() to avoid leaving stale pointers in memory  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-12-15 15:43:14 +01:00 
						 
				 
			
				
					
						
							
							
								Gabor Nagy 
							
						 
					 
					
						
						
							
						
						28fc31d78d 
					 
					
						
						
							
							avformat/avidec: Do not fail for crazy start times  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-12-11 14:59:10 +01:00 
						 
				 
			
				
					
						
							
							
								Gabor Nagy 
							
						 
					 
					
						
						
							
						
						ae8168074e 
					 
					
						
						
							
							avformat/avidec: Increase dshow_block_align use threshold by 1  
						
						... 
						
						
						
						Fixes 00.avi
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-12-10 03:18:30 +01:00 
						 
				 
			
				
					
						
							
							
								Joakim Plate 
							
						 
					 
					
						
						
							
						
						90411b333d 
					 
					
						
						
							
							Allow reading of growing avi files (currently being written)  
						
						... 
						
						
						
						This uses the RIFF header stored size to figure out the expected AVI
file size, instead of the actual file. To work fully it requires handling
failed avio_seek() instead of assuming they always succeed.
Some fate file has been cut off and contains half a frame at the end which
previously was not output during demuxing. This frame is now output to
encoder, thus the fate diff update.
Bug-Id: 261
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com > 
						
						
					 
					
						2014-12-08 13:29:33 +00:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						f0ae0354d3 
					 
					
						
						
							
							avformat/avidec: fix handling dv in avi  
						
						... 
						
						
						
						Fixes Ticket4086
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-11-21 03:34:13 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						4641ae352e 
					 
					
						
						
							
							avformat: Add and use ff_copy_whitelists()  
						
						... 
						
						
						
						Fixes potential security issue in case of running out of memory
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-10-24 19:23:23 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						b76234c00c 
					 
					
						
						
							
							avformat/avidec: Forward whitelists to the subtitle demuxer  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-10-23 18:19:37 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						d6ed67780b 
					 
					
						
						
							
							libavformat/avidec: Make unchanged function arguments const  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-09-24 18:33:55 +02:00 
						 
				 
			
				
					
						
							
							
								Benoit Fouet 
							
						 
					 
					
						
						
							
						
						9c843fb1d0 
					 
					
						
						
							
							avformat/avidec: ensure that palette does not contain the BottomUp info.  
						
						... 
						
						
						
						Considering the palette is located at the end of extradata may be flawed
when the extradata contains the palette followed by the BottomUp field.
When the BottomUp field is present, exclude it from the palette.
Fixes part of ticket #1304 
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-09-22 11:01:27 +02:00 
						 
				 
			
				
					
						
							
							
								James Almer 
							
						 
					 
					
						
						
							
						
						d34ec64a22 
					 
					
						
						
							
							replace calls to url_feof() with avio_feof()  
						
						... 
						
						
						
						Signed-off-by: James Almer <jamrial@gmail.com >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-08-08 00:48:38 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						571ab8344a 
					 
					
						
						
							
							avformat/avidec: allow rounding errors between scale/rate and timebase  
						
						... 
						
						
						
						Fixes Ticket3670
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-06-04 05:04:13 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						91736025b2 
					 
					
						
						
							
							avformat/avidec: set average frame rate from header  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-05-01 05:40:00 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						466988ab75 
					 
					
						
						
							
							Fix dont and doesnt typos  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-04-27 15:14:32 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						e9ad121ba5 
					 
					
						
						
							
							Fix skiping typos  
						
						... 
						
						
						
						Found-by: Alessandro Ghedini <alessandro@ghedini.me >
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-04-27 14:50:14 +02:00 
						 
				 
			
				
					
						
							
							
								Don Moir 
							
						 
					 
					
						
						
							
						
						62056d09b1 
					 
					
						
						
							
							avformat/avidec: skip len=0 entries from the index  
						
						... 
						
						
						
						Reduces cpu & memory requirements for the index
See Ticket 3531
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-04-25 18:56:05 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						57fb570908 
					 
					
						
						
							
							avformat/avidec: Speed up keyframe detection code  
						
						... 
						
						
						
						Fixes Ticket3531
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-04-22 04:33:20 +02:00 
						 
				 
			
				
					
						
							
							
								Thilo Borgmann 
							
						 
					 
					
						
						
							
						
						2f08dad028 
					 
					
						
						
							
							lavf/avidec: Read metadata EXIF tags from AVIF tag. Based on patch by Gregory Wolfe (Kodak Alaris) <gregory.wolfe@kodakalaris.com>.  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-04-05 03:32:06 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						cc8b45c0ce 
					 
					
						
						
							
							avformat/avidec: remove unused variables  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-04-02 19:04:58 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						91a0d3af65 
					 
					
						
						
							
							Merge commit '9d599e3f6e61438772d8cddd6c9b7c495251f51e'  
						
						... 
						
						
						
						* commit '9d599e3f6e61438772d8cddd6c9b7c495251f51e':
  avi: Improve non-interleaved detection
Conflicts:
	libavformat/avidec.c
See: 8df774be88michaelni@gmx.at > 
						
						
					 
					
						2014-04-02 18:03:02 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						9d599e3f6e 
					 
					
						
						
							
							avi: Improve non-interleaved detection  
						
						... 
						
						
						
						Additional fixes by Nigel Touati-Evans <nigel.touatievans@gmail.com >.
Check the index for streams with a time drift of 2s or a buffer drift
of 64MB.
Bug-Id: 666
CC: libav-stable@libav.org 
Sample-Id: yet-another-broken-interleaved-avi.avi
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com >
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
Signed-off-by: Diego Biurrun <diego@biurrun.de > 
						
						
					 
					
						2014-04-02 12:11:31 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						61b3b3315c 
					 
					
						
						
							
							Merge commit 'f1c4a54f6ecbf77a29aaaee09ca70c5468d0c509'  
						
						... 
						
						
						
						* commit 'f1c4a54f6ecbf77a29aaaee09ca70c5468d0c509':
  lavf: add supported extension to avi and mov demuxers
Merged-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-04-02 03:15:19 +02:00 
						 
				 
			
				
					
						
							
							
								Marc-Antoine Arnaud 
							
						 
					 
					
						
						
							
						
						f1c4a54f6e 
					 
					
						
						
							
							lavf: add supported extension to avi and mov demuxers  
						
						
						
						
					 
					
						2014-04-02 00:27:53 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						28ee7757f5 
					 
					
						
						
							
							Merge commit 'd92024f18fa3d69937cb2575f3a8bf973df02430'  
						
						... 
						
						
						
						* commit 'd92024f18fa3d69937cb2575f3a8bf973df02430':
  lavf: more correct printf format specifiers
Conflicts:
	libavformat/asfdec.c
	libavformat/cafdec.c
	libavformat/dxa.c
	libavformat/framecrcenc.c
	libavformat/hnm.c
	libavformat/iff.c
	libavformat/mov.c
	libavformat/mxfdec.c
	libavformat/rmdec.c
	libavformat/rpl.c
	libavformat/smacker.c
	libavformat/xmv.c
Merged-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-03-11 21:05:34 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						5d75730c58 
					 
					
						
						
							
							avformat/avidec: Check required demuxing buffer sizes in guess_ni_flag()  
						
						... 
						
						
						
						Fixes Ticket3421
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-03-11 19:20:47 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						01000064c9 
					 
					
						
						
							
							avidec: calculate missing bitrates from index  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-03-11 19:20:47 +01:00 
						 
				 
			
				
					
						
							
							
								Diego Biurrun 
							
						 
					 
					
						
						
							
						
						d92024f18f 
					 
					
						
						
							
							lavf: more correct printf format specifiers  
						
						
						
						
					 
					
						2014-03-11 13:13:41 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						52a2138656 
					 
					
						
						
							
							avformat/avidec: Use a buffer with sufficient padding in read_gab2_sub()  
						
						... 
						
						
						
						Fixes out of array read
Fixes: 0ff9841c2a102f06e0d582bfc3376cbd-asan_heap-oob_495589_6836_cov_1763916974_mewmew_ssa.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2014-03-02 04:38:30 +01:00 
						 
				 
			
				
					
						
							
							
								Carl Eugen Hoyos 
							
						 
					 
					
						
						
							
						
						b7702fafb3 
					 
					
						
						
							
							Avoid a possible overflow when reading Nikon avi files.  
						
						... 
						
						
						
						Suggested-by: Reimar 
						
						
					 
					
						2014-01-20 11:40:35 +01:00 
						 
				 
			
				
					
						
							
							
								Carl Eugen Hoyos 
							
						 
					 
					
						
						
							
						
						f9c2d4d17e 
					 
					
						
						
							
							Allow decoding of slightly broken Nikon avi files.  
						
						... 
						
						
						
						Fixes ticket #3330 . 
						
						
					 
					
						2014-01-20 01:44:07 +01:00 
						 
				 
			
				
					
						
							
							
								Carl Eugen Hoyos 
							
						 
					 
					
						
						
							
						
						94cf4f8bac 
					 
					
						
						
							
							Use the h264 parser when decoding VSSH in avi.  
						
						... 
						
						
						
						Fixes ticket #3261  visually.
Analyzed-by: Michael Doilnitsyn 
						
						
					 
					
						2014-01-07 22:49:05 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						e93bc3efbf 
					 
					
						
						
							
							avformat/avidec: use ff_get_extradata()  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-12-25 17:23:13 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						ccdfa3e271 
					 
					
						
						
							
							Merge remote-tracking branch 'qatar/master'  
						
						... 
						
						
						
						* qatar/master:
  Add missing #includes for *INT64_MAX and *INT64_C
Conflicts:
	ffmpeg.c
	ffmpeg_filter.c
	ffplay.c
	libavformat/assdec.c
	libavformat/avidec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-11-24 05:21:19 +01:00 
						 
				 
			
				
					
						
							
							
								Diego Biurrun 
							
						 
					 
					
						
						
							
						
						8f8bc92365 
					 
					
						
						
							
							Add missing #includes for *INT64_MAX and *INT64_C  
						
						
						
						
					 
					
						2013-11-23 21:55:52 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						7865759409 
					 
					
						
						
							
							avformat/avidec: Dont assert the existence of an index for video streams.  
						
						... 
						
						
						
						Its possible in various rare cases that an index cannot be created or allocated.
Fixes assertion failure
Fixes: signal_sigabrt_7ffff7126425_7712_pokem.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-11-22 17:02:00 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						9cbe834dfd 
					 
					
						
						
							
							avformat/avidec: Skip duplicate strf chunks  
						
						... 
						
						
						
						Fixes Ticket3119
Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-11-22 02:06:03 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						7c98c834e0 
					 
					
						
						
							
							avformat/avidec: also print position in print_tag()  
						
						... 
						
						
						
						Signed-off-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-11-22 01:29:02 +01:00 
						 
				 
			
				
					
						
							
							
								Anton Khirnov 
							
						 
					 
					
						
						
							
						
						ce9bba5340 
					 
					
						
						
							
							avidec: fix a memleak in the dv init code.  
						
						... 
						
						
						
						Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org  
						
						
					 
					
						2013-11-21 20:57:58 +01:00 
						 
				 
			
				
					
						
							
							
								Paul B Mahol 
							
						 
					 
					
						
						
							
						
						a807c68253 
					 
					
						
						
							
							avformat: use ff_alloc_extradata()  
						
						... 
						
						
						
						Signed-off-by: Paul B Mahol <onemda@gmail.com > 
						
						
					 
					
						2013-10-13 20:13:38 +00:00 
						 
				 
			
				
					
						
							
							
								Michael Niedermayer 
							
						 
					 
					
						
						
							
						
						5fcd0a80a2 
					 
					
						
						
							
							Merge commit 'ceec6e792e4b5baaa23b220f4fd33417631f5288'  
						
						... 
						
						
						
						* commit 'ceec6e792e4b5baaa23b220f4fd33417631f5288':
  avi: directly resync on DV in AVI read failure
Merged-by: Michael Niedermayer <michaelni@gmx.at > 
						
						
					 
					
						2013-10-10 11:31:40 +02:00