36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f63412fc74 
								
							
								 
							
						 
						
							
							
								
								oggdec: output correct timestamps for Vorbis  
							
							Takes encoder delay into account by comparing first the coded page
duration with the calculated page duration. Handles last packet duration
if needed, also by comparing coded duration with calculated duration.
Also does better handling of timestamp generation for packets in the
first page for streamed ogg files where the start time is not
necessarily zero. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5602a464c9 
								
							
								 
							
						 
						
							
							
								
								avcodec: add a Vorbis parser to get packet duration  
							
							This also allows for removing some of the Vorbis-related hacks. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3f9ebf743 
								
							
								 
							
						 
						
							
							
								
								lavf: make av_set_pts_info private.  
							
							It's supposed to be called only from (de)muxers. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1fa395e471 
								
							
								 
							
						 
						
							
							
								
								lavf: use avpriv_ prefix for ff_new_chapter().  
							
							It's used in libavdevice. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2d67e424f 
								
							
								 
							
						 
						
							
							
								
								Remove all uses of now deprecated metadata functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								19711af5cd 
								
							
								 
							
						 
						
							
							
								
								lavf: move internal functions from avformat.h to internal.h  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								8cb3c557a9 
								
							
								 
							
						 
						
							
							
								
								Ogg: discard non-essential metadata from Vorbis header when creating extradata  
							
							The first part of the metadata, the "vendor" string, is required by
libvorbis, it will refuse to play when it is not available.
Also we do not currently parse that part into metadata so it would also
be lost if we removed it as well.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce20edb7bd 
								
							
								 
							
						 
						
							
							
								
								Vorbis-in-Ogg: Do not set timebase to invalid values  
							
							Avoids an assert when the sample rate is invalid and the timebase
is thus set to e.g. 1/0.
Sample file is http://samples.mplayerhq.hu/ogg/fuzzed-srate-crash.ogg 
This is a quick fix for a crash, not a final solution.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad7768f4c4 
								
							
								 
							
						 
						
							
							
								
								add ff_ prefix to metadata_conv()  
							
							patch by Anton Khirnov  anton _at_ khirnov _dot_ net
Originally committed as revision 25505 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb66c31da4 
								
							
								 
							
						 
						
							
							
								
								Fix building, include the header instead of the source file  
							
							Builds only seemed to have been broken in some configurations, though.
Originally committed as revision 25499 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								03700d399b 
								
							
								 
							
						 
						
							
							
								
								Export metadata in the generic format. Deprecate old conversion API.  
							
							patch by Anton Khirnov  anton _at_ khirnov _dot_ net
Originally committed as revision 25493 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73c44cb286 
								
							
								 
							
						 
						
							
							
								
								oggparsevorbis: Add some sanity checks to header packet ordering/presence.  
							
							Originally committed as revision 24740 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								66061a1220 
								
							
								 
							
						 
						
							
							
								
								Add VorbisComment writing to FLAC files.  
							
							Patch by James Darnley <james darnley at gmail>.
Originally committed as revision 22605 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8730fad595 
								
							
								 
							
						 
						
							
							
								
								oggdec: Parse ogm chapters  
							
							Originally committed as revision 22477 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								533c30fced 
								
							
								 
							
						 
						
							
							
								
								Const correctness for vorbis_comment  
							
							Originally committed as revision 22474 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								2ac41150c0 
								
							
								 
							
						 
						
							
							
								
								oggdec: Fix memory leak in setting up vorbis headers  
							
							Originally committed as revision 22460 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f8320d7c3 
								
							
								 
							
						 
						
							
							
								
								oggdec: Don't use ogg_stream's seq for vorbis or speex headers  
							
							Originally committed as revision 22459 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca76a11948 
								
							
								 
							
						 
						
							
							
								
								Add a list of generic tags and change demuxers to follow it.  
							
							Patch by Anton Khirnov, wyskas at gmail dot com
Originally committed as revision 21587 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								12ad66712a 
								
							
								 
							
						 
						
							
							
								
								Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strduped  
							
							arrays of fixed length.
Code from ffmbc with changes to adapt to our metadata API.
Originally committed as revision 20836 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								961057decd 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary entries in ff_vorbiscomment_metadata_conv. VorbisComment  
							
							keys are case-insensitive.
Originally committed as revision 20267 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								98422c44cf 
								
							
								 
							
						 
						
							
							
								
								Fix possible buffer over-read in vorbis_comment, fix it double to be sure.  
							
							First, make s signed, so that comparisons against end - p will not be made as
unsigned, making the check incorrectly pass if p is beyond end.
Also ensure that p will never be > end, so the code is correct also if
buf is not padded.
Originally committed as revision 20014 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7d507ceb79 
								
							
								 
							
						 
						
							
							
								
								Correctly print number of remaining bytes in oggparsevorbis instead of always  
							
							with inverted sign.
Originally committed as revision 19978 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d7bb185f99 
								
							
								 
							
						 
						
							
							
								
								Add a VorbisComment metadata conversion table and use it in the FLAC and  
							
							Ogg demuxers.
Originally committed as revision 19186 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e3b446498a 
								
							
								 
							
						 
						
							
							
								
								use av_malloc() in vorbis_comment()  
							
							Originally committed as revision 17188 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bf6c32fe50 
								
							
								 
							
						 
						
							
							
								
								use new metadata API in ogg/vorbis demuxer  
							
							Originally committed as revision 17164 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9686df2be5 
								
							
								 
							
						 
						
							
							
								
								Delete unnecessary 'extern' keywords.  
							
							Originally committed as revision 15990 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								589790c294 
								
							
								 
							
						 
						
							
							
								
								OGG: Add padding at end of Vorbis headers  
							
							Patch by Siarhei Siamashka <siarhei.siamashka gmail com>
Originally committed as revision 14249 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								47a0513b0c 
								
							
								 
							
						 
						
							
							
								
								const  
							
							Originally committed as revision 11762 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								972c5f9e10 
								
							
								 
							
						 
						
							
							
								
								simply buffer checks in vorbis_comment()  
							
							Originally committed as revision 10725 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a770ae7b4 
								
							
								 
							
						 
						
							
							
								
								use bytestream_get_* in vorbis_comment()  
							
							Originally committed as revision 10724 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								736e63edc8 
								
							
								 
							
						 
						
							
							
								
								check values more thoroughly in vorbis_header()  
							
							Originally committed as revision 10707 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								739587bf04 
								
							
								 
							
						 
						
							
							
								
								use bytestream_get_* in vorbis_header()  
							
							Originally committed as revision 10706 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f5475e1b38 
								
							
								 
							
						 
						
							
							
								
								fix buffer overread with invalid Vorbis header  
							
							Originally committed as revision 10705 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62f2c069b8 
								
							
								 
							
						 
						
							
							
								
								remove duplicate Vorbis comment tag handling  
							
							Originally committed as revision 10704 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								19f4cecafa 
								
							
								 
							
						 
						
							
							
								
								warnings--  
							
							Originally committed as revision 9411 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4bd684bc2f 
								
							
								 
							
						 
						
							
							
								
								whitespace cosmetics  
							
							Originally committed as revision 9410 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1eb1f6fdb8 
								
							
								 
							
						 
						
							
							
								
								use AV_RL32  
							
							Originally committed as revision 9409 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d66c30adec 
								
							
								 
							
						 
						
							
							
								
								use more Vorbis metadata tags  
							
							Originally committed as revision 9408 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d367783979 
								
							
								 
							
						 
						
							
							
								
								replace strncpy with av_strlcpy  
							
							Originally committed as revision 9407 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago