b845f5e97b 
								
							
								 
							
						 
						
							
							
								
								riff: Factor out WAVEFORMATEX parsing  
							
							Makes the code simpler to follow.
Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								516089d5d8 
								
							
								 
							
						 
						
							
							
								
								riff: Add ACTRAC3+ guid  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a3bf80a5ae 
								
							
								 
							
						 
						
							
							
								
								riff: Perform full lookup on WAVEFORMATEXTENSIBLE subformat guid  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e544782623 
								
							
								 
							
						 
						
							
							
								
								riff: Move guid structs and helper functions into riff  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8e329dba37 
								
							
								 
							
						 
						
							
							
								
								riff: check for eof if chunk size and code are 0  
							
							Prevent an infinite loop.
Inspired by a patch from Michael Niedermayer
CC: libav-stable@libav.org 
Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c88617b94 
								
							
								 
							
						 
						
							
							
								
								riff: K&R formatting cosmetics  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								47335126c0 
								
							
								 
							
						 
						
							
							
								
								ff_end_tag: assert that the start is aligned.  
							
							If its start is not aligned then aligning its end will
likely break many demuxers as they check the size and not
the position.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								810cd0dd9c 
								
							
								 
							
						 
						
							
							
								
								riff: chunks must be at 2 byte boundary  
							
							Fixes  #2244 .
Signed-off-by: Paul B Mahol <onemda@gmail.com> 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a8343bfb6a 
								
							
								 
							
						 
						
							
							
								
								riff: fix infinite loop  
							
							Fixes Ticket2241
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80ac87c13d 
								
							
								 
							
						 
						
							
							
								
								lavc: support ZenoXVID custom tag  
							
							Looks like this kind of samples are produced by certain Russian
equipment. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9ff92cf195 
								
							
								 
							
						 
						
							
							
								
								012v decoder.  
							
							The decoder also supports a12v, but removes the transparency layer
since no samples with actual transparency are available for testing. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0c5917f86 
								
							
								 
							
						 
						
							
							
								
								Drop Snow codec  
							
							Snow is a toy codec with no real-world use and horrible code. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								92f630eaf2 
								
							
								 
							
						 
						
							
							
								
								add forgotten AV_ prefix to some CODEC_IDs  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								196920060b 
								
							
								 
							
						 
						
							
							
								
								Add FourCC V264 for H264 in CCTV recordings.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c7bf2ddde 
								
							
								 
							
						 
						
							
							
								
								lavf: move nuv fourcc audio tags from riff to nuv  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								261e9348ef 
								
							
								 
							
						 
						
							
							
								
								lavf: add a common function for selecting a pcm codec from parameters  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cdaa1f84fb 
								
							
								 
							
						 
						
							
							
								
								lavf: move "MP3 " fourcc from riff to nut  
							
							Original commit, 7b24f9b, says it was added because it is used in libnut. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c370f5abc 
								
							
								 
							
						 
						
							
							
								
								riff: only warn on a bad INFO chunk code size instead of failing  
							
							fixes Bug 392 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								259d8c5647 
								
							
								 
							
						 
						
							
							
								
								riff: do not add empty metadata tags in INFO chunk  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ddb009425c 
								
							
								 
							
						 
						
							
							
								
								riff: Make ff_riff_tags static and move under appropriate #ifdef  
							
							The table is not used outside the file. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d8e684f05 
								
							
								 
							
						 
						
							
							
								
								ADPCM IMA Dialogic decoder  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d6bf250dd 
								
							
								 
							
						 
						
							
							
								
								riff: fix decoding of 24-bit packed int (type 1, 20-bit)  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cc5c2ef09d 
								
							
								 
							
						 
						
							
							
								
								riff: add SMV2 FourCC for H264  
							
							sample:
http://samples.mplayerhq.hu/V-codecs/smv2.avi 
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								49c2f2d57e 
								
							
								 
							
						 
						
							
							
								
								riff: add GXVE FourCC for WMV2  
							
							sample:
http://samples.mplayerhq.hu/V-codecs/ViVD/vivd.avi 
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								461797f6aa 
								
							
								 
							
						 
						
							
							
								
								riff: add "lsvm" FourCC for H263.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								96fac764fa 
								
							
								 
							
						 
						
							
							
								
								Add an additional AAC TwoCC.  
							
							Mentioned on http://msdn.microsoft.com/en-us/library/dd341376%28prot.20%29.aspx 
Originally committed to vlc by Jean-Baptiste. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ef26b5e73 
								
							
								 
							
						 
						
							
							
								
								riff: support 0xa100 TwoCC  
							
							fixes decoding of file "4790b7f1c44f98e35f3b806468fa615f5930a5b3.wav" from ticket #1856 
(0xa100 = Comverse Infosys Ltd. G723 1)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6173a8fe5d 
								
							
								 
							
						 
						
							
							
								
								riff: remove a write-only variable  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e4ef2e073c 
								
							
								 
							
						 
						
							
							
								
								riff_has_valid_tags: remove unused variable  
							
							Fixes CID739471
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7b2121e7e2 
								
							
								 
							
						 
						
							
							
								
								riff: Move functions around to be covered by appropriate #ifdefs  
							
							This fixes compilation with --disable-muxers. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d0c27e88d2 
								
							
								 
							
						 
						
							
							
								
								riff: retry reading metadata without padding if it fails with  
							
							Fixes Ticket1821
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1350dffdc6 
								
							
								 
							
						 
						
							
							
								
								riff: dont discard truncated metadata  
							
							Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								340305646a 
								
							
								 
							
						 
						
							
							
								
								riff: fix division by zero for G726  
							
							Fixes CID717752
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0bca0283cc 
								
							
								 
							
						 
						
							
							
								
								riff: do not write empty INFO tags  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71e92414bf 
								
							
								 
							
						 
						
							
							
								
								lavf: move RIFF INFO tag writing from avienc to riff  
							
							It will be useful in the wav muxer.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								641c0eea0b 
								
							
								 
							
						 
						
							
							
								
								bitmap header lookup: add code comment  
							
							Signed-off-by: rogerdpack <rogerpack2005@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1c56cdad33 
								
							
								 
							
						 
						
							
							
								
								riff: Add SVQ3 fourcc  
							
							Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fef412a24d 
								
							
								 
							
						 
						
							
							
								
								riff: Add SVQ3 fourcc  
							
							Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ee769c6a7c 
								
							
								 
							
						 
						
							
							
								
								MSS2 decoder  
							
							Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0bb37bbc0f 
								
							
								 
							
						 
						
							
							
								
								riff: fix remuxing of atrac3 in wav  
							
							The original codec expects 0 as bps or refuses to play the remuxed file.
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  
				
					
						
							
							
								 
						
							
							
							
								
							
								ed8d827ad0 
								
							
								 
							
						 
						
							
							
								
								riffenc: fix aac  
							
							Fixes Ticket1435
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb2f13c19f 
								
							
								 
							
						 
						
							
							
								
								rename missed CodecID to AVCodecID  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45eaac02cb 
								
							
								 
							
						 
						
							
							
								
								Canopus Lossless decoder  
							
							At the moment it only does BGR24, but I plan to add the rest after.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91c86d3cf8 
								
							
								 
							
						 
						
							
							
								
								Canopus Lossless decoder  
							
							At the moment it only does BGR24, but I plan to add the rest after.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								23bb85b069 
								
							
								 
							
						 
						
							
							
								
								riff: make the G723.1 in wav output compatible with WMP/msacm codec  
							
							Attached patch (together with demuxing patch) allows WMP/msacm G723.1 codec decode files encoded by FFmpeg.
Tested with both 6400 and 5333 mode
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b9c129be0f 
								
							
								 
							
						 
						
							
							
								
								riff: fix remuxing of G723_1 in wav  
							
							Attached patch fixes remuxing of G723.1 in wav, so the output is playable by WMP.
(It's still not enough for encoding - probably some extradata should be added to the output file
to make it playable by WMP/win codec)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3800facac6 
								
							
								 
							
						 
						
							
							
								
								riff: add G723_1 wav tag  
							
							Reveiwed-by: compn <tempn@twmi.rr.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b688c7b7f9 
								
							
								 
							
						 
						
							
							
								
								riff: add "SM4V" FourCC  
							
							Reviewed-by: compn <tempn@twmi.rr.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago