23f741f793 
								
							
								 
							
						 
						
							
							
								
								matroskadec: parse the channel layout mask for FLAC  
							
							It is commonly stored in a vorbiscomment block in codec private data. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4511531582 
								
							
								 
							
						 
						
							
							
								
								avformat/oggparsetheora: zero extradata padding area  
							
							Fixes use of uninitialized memory
Fixes: msan_uninit-mem_7f66fa0ac09d_9197_theora_a4_v6_k250_s0.ogg
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce6949d3a0 
								
							
								 
							
						 
						
							
							
								
								oggparsetheora: stop using deprecated avcodec_set_dimensions  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4f2d8968c0 
								
							
								 
							
						 
						
							
							
								
								oggparsetheora: check av_mallocz result  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e5fb21877 
								
							
								 
							
						 
						
							
							
								
								oggparsetheora: return meaningful error codes  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4c12b8be4 
								
							
								 
							
						 
						
							
							
								
								oggparsetheora: K&R cosmetics, reformat  
							
							Also typedef the private data struct and make its name consistent with
the rest of Libav.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d872fb0f7f 
								
							
								 
							
						 
						
							
							
								
								lavf: Reset the entry count and allocation size variables on av_reallocp failures  
							
							When av_reallocp fails, the associated variables that keep track of
the number of elements in the array (and in some cases, the
separate number of allocated elements) need to be reset.
Not all of these might technically be needed, but it's better to
reset them if in doubt, to make sure variables don't end up
conflicting.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5626f994f2 
								
							
								 
							
						 
						
							
							
								
								avformat: Use av_reallocp() where suitable  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								39403c6c1b 
								
							
								 
							
						 
						
							
							
								
								oggparsetheora: fix comment header parsing  
							
							Pass the correct header size to ff_vorbis_comment()
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								db4bb4c983 
								
							
								 
							
						 
						
							
							
								
								oggparsetheora: fix comment header parsing  
							
							Pass the correct header size to ff_vorbis_comment()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9d56712e9 
								
							
								 
							
						 
						
							
							
								
								oggparsetheora: print error when failing on unknown header  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7751e4693d 
								
							
								 
							
						 
						
							
							
								
								ogg: check that the expected number of headers had been parsed  
							
							Not having the header for a codec is a tell-tale of a broken file. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0336dea2ef 
								
							
								 
							
						 
						
							
							
								
								oggparsetheora: make it more robust  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb146bb57b 
								
							
								 
							
						 
						
							
							
								
								ogg: prevent NULL pointer deference in theora gptopts  
							
							Additional safety in case a special ogg stream is crafted
with the proper number of
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb7073921c 
								
							
								 
							
						 
						
							
							
								
								oggparsetheora: fix metadata parsing  
							
							Fixes Ticket1508
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b18c9f1eb0 
								
							
								 
							
						 
						
							
							
								
								oggtheora: Port changes from oggvorbis timestamp handling.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								231d32c8d7 
								
							
								 
							
						 
						
							
							
								
								oggtheora: Fix initial pts  
							
							code based on the solution in vorbis
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f927c5b753 
								
							
								 
							
						 
						
							
							
								
								vorbisdemux: Check private context in theoras gtopts.  
							
							This prevents a null ptr dereference.
It could be checked differently but this way it should
be possible to return some data.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1bb3990b56 
								
							
								 
							
						 
						
							
							
								
								ogg: don't set codec timebase  
							
							Demuxers are not supposed to set it. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3f9ebf743 
								
							
								 
							
						 
						
							
							
								
								lavf: make av_set_pts_info private.  
							
							It's supposed to be called only from (de)muxers. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a351110eea 
								
							
								 
							
						 
						
							
							
								
								Always use av_set_pts_info to set the stream time base.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5603df39df 
								
							
								 
							
						 
						
							
							
								
								Always use av_set_pts_info to set the stream time base.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cc947f04cc 
								
							
								 
							
						 
						
							
							
								
								Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.  
							
							Patch by Jean-Daniel Dupas, devlists shadowlab org
Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72415b2adb 
								
							
								 
							
						 
						
							
							
								
								Define AVMediaType enum, and use it instead of enum CodecType, which  
							
							is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b53cde48bd 
								
							
								 
							
						 
						
							
							
								
								oggdec: Metadata is per-stream; don't merge multiple streams' together  
							
							Originally committed as revision 22473 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e4d2d8c5d7 
								
							
								 
							
						 
						
							
							
								
								Add ff_ prefix to vorbis_comment  
							
							Originally committed as revision 22472 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b6bdb6cf3 
								
							
								 
							
						 
						
							
							
								
								oggdec: Parse theora headers since ogg might not mark keyframes  
							
							Fixes issue746
Originally committed as revision 22214 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d4970d88d 
								
							
								 
							
						 
						
							
							
								
								oggdec: Set dts when known  
							
							Originally committed as revision 21134 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								11d058b7b3 
								
							
								 
							
						 
						
							
							
								
								Replace invalid Theora frame rate by 25 FPS.  
							
							Avoids division by 0 due to e.g. time_base denominator being 0.
Originally committed as revision 19334 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								12d7c0793b 
								
							
								 
							
						 
						
							
							
								
								Ensure that the extradata buffer is padded appripriately in the ogg demuxer.  
							
							Spotted by valgrind.
Originally committed as revision 19119 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a8dedc9e1 
								
							
								 
							
						 
						
							
							
								
								Use skip_bits_long() for large skips  
							
							This fixes ogg/theora on ARM (more generally the A32 bitstream reader)
Originally committed as revision 18819 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9106a698e7 
								
							
								 
							
						 
						
							
							
								
								Rename bitstream.h to get_bits.h.  
							
							Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e3b07e1a74 
								
							
								 
							
						 
						
							
							
								
								OGG: correct PTS with old theora streams  
							
							Originally committed as revision 15785 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								77be08eeb1 
								
							
								 
							
						 
						
							
							
								
								OGG: untypedef demuxer structs  
							
							Originally committed as revision 15784 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0ce2d1bbc 
								
							
								 
							
						 
						
							
							
								
								Cosmetics: indentation  
							
							Originally committed as revision 15501 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								277e3e534b 
								
							
								 
							
						 
						
							
							
								
								Visible width/height fields were added in Theora 3.2  
							
							Originally committed as revision 15500 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								547ea47d4f 
								
							
								 
							
						 
						
							
							
								
								Add ff_ prefix to ogg_codec_t structs  
							
							Originally committed as revision 14951 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd34bc7617 
								
							
								 
							
						 
						
							
							
								
								Make ogg_codec_t descriptions const  
							
							Originally committed as revision 14948 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5972945197 
								
							
								 
							
						 
						
							
							
								
								convert every muxer/demuxer to write/read sample_aspect_ratio from/to  
							
							the corresponding AVStream instead of AVCodecContext
Originally committed as revision 14933 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								245976da2a 
								
							
								 
							
						 
						
							
							
								
								Use full path for #includes from another directory.  
							
							Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e1a794b272 
								
							
								 
							
						 
						
							
							
								
								set PKT_FLAG_KEY for Theora and OGM streams  
							
							Originally committed as revision 11002 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0ddef24ce 
								
							
								 
							
						 
						
							
							
								
								Rename ogg2.[ch] to oggdec.[ch].  
							
							Originally committed as revision 10943 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80fb82346e 
								
							
								 
							
						 
						
							
							
								
								Use AV_RB* macros where appropriate.  
							
							patch by Ronald S. Bultje, rsbultje gmail com
thread: Re: [FFmpeg-devel] remove int readers
date: Sat, 23 Jun 2007 09:32:12 -0400
Originally committed as revision 9499 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b997b67c63 
								
							
								 
							
						 
						
							
							
								
								use get_bits_long() where needed  
							
							patch by Aurelien Jacobs, aurel gnuage org
Originally committed as revision 9314 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c0f716b86f 
								
							
								 
							
						 
						
							
							
								
								fix display of theora videos with visible size smaller than encoded size  
							
							Originally committed as revision 8928 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								116d866ca5 
								
							
								 
							
						 
						
							
							
								
								fix playback of theora.ogg on mphq patch by (matthieu castet %% castet dat matthieu ot free dat fr %%)  
							
							Originally committed as revision 5776 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3644cb8ff9 
								
							
								 
							
						 
						
							
							
								
								set stream time_base properly  
							
							Originally committed as revision 5367 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								571fa53105 
								
							
								 
							
						 
						
							
							
								
								support correct ptses on other than version 3.2.0 aswell  
							
							Originally committed as revision 5047 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						19 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb270c0896 
								
							
								 
							
						 
						
							
							
								
								COSMETICS: tabs --> spaces, some prettyprinting  
							
							Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						20 years ago