520c1ec699 
								
							
								 
							
						 
						
							
							
								
								dv: Split profile handling code into a separate file.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								20234a4bd7 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Align muxer/demuxer declarations  
							
							Also add missing trailing commas, break long codec_tag lines and
add spaces in codec_tag declarations.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0a41f47dc1 
								
							
								 
							
						 
						
							
							
								
								dv: Do not redundantly initialize struct members to zero.  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								8332321c57 
								
							
								 
							
						 
						
							
							
								
								dv: Check return value of avio_seek and avoid modifying state if it fails  
							
							Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8dbdc2d840 
								
							
								 
							
						 
						
							
							
								
								dv: Move a table used only by the demuxer out of a shared header.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ab3687924 
								
							
								 
							
						 
						
							
							
								
								dv: Fix small overread in audio frequency table.  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d1c0dea5f 
								
							
								 
							
						 
						
							
							
								
								dv: Fix small stack overread related to CVE-2011-3929 and CVE-2011-3936.  
							
							Found with asan.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Alex Converse <alex.converse@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a396bb3a6 
								
							
								 
							
						 
						
							
							
								
								dv: Fix null pointer dereference due to ach=0  
							
							dv: Fix null pointer dereference due to ach=0
Fixes part2 of CVE-2011-3929
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Reviewed-by: Roman Shaposhnik <roman@shaposhnik.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Alex Converse <alex.converse@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								635bcfccd4 
								
							
								 
							
						 
						
							
							
								
								dv: check stype  
							
							dv: check stype
Fixes part1 of CVE-2011-3929
Possibly fixes part of CVE-2011-3936
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Reviewed-by: Roman Shaposhnik <roman@shaposhnik.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Alex Converse <alex.converse@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e9651d106 
								
							
								 
							
						 
						
							
							
								
								lavf: remove AVFormatParameters from AVFormatContext.read_header signature  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3f9ebf743 
								
							
								 
							
						 
						
							
							
								
								lavf: make av_set_pts_info private.  
							
							It's supposed to be called only from (de)muxers. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2f5df0b12c 
								
							
								 
							
						 
						
							
							
								
								Replace ffmpeg references with more accurate libav* references.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								242c73a0fd 
								
							
								 
							
						 
						
							
							
								
								lavc: use avpriv_ prefix for some dv symbols used in lavf.  
							
							Specifically, ff_dv_frame_profile and ff_dv_codec_profile. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab88b25f99 
								
							
								 
							
						 
						
							
							
								
								lavf: use avpriv_ prefix for some dv functions.  
							
							They are used in libavdevice. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b3bbdd3e6 
								
							
								 
							
						 
						
							
							
								
								lavf,lavd: replace av_new_stream->avformat_new_stream part I.  
							
							Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/' 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dfc2c4d900 
								
							
								 
							
						 
						
							
							
								
								lavf: use designated initialisers for all (de)muxers.  
							
							It's more readable and less prone to breakage. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ebcdf5cda 
								
							
								 
							
						 
						
							
							
								
								Do not include mathematics.h in avutil.h  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66e5b1df36 
								
							
								 
							
						 
						
							
							
								
								avio: deprecate url_feof  
							
							AVIOContext.eof_reached should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								76aa876e69 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_fsize  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2704c9712 
								
							
								 
							
						 
						
							
							
								
								avio: add avio_tell macro as a replacement for url_ftell  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b4aa5dac8 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_fseek  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b7effd4e83 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefixes for get_* functions  
							
							In the name of consistency:
get_byte           -> avio_r8
get_<type>         -> avio_r<type>
get_buffer         -> avio_read
get_partial_buffer will be made private later
get_strz is left out becase I want to change it later to return
something useful.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c6610a216e 
								
							
								 
							
						 
						
							
							
								
								Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.  
							
							This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe9d2edbdb 
								
							
								 
							
						 
						
							
							
								
								DV: use data_offset to fix seeking in badly cut files where the first  
							
							complete frame does not start at position 0.
Originally committed as revision 25833 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								d40a999a1c 
								
							
								 
							
						 
						
							
							
								
								Fix seeking in DV when filesize is unknown.  
							
							Patch by Tomas Härdin, tomas D hardin A  codemill D se
Originally committed as revision 22645 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c76911bd65 
								
							
								 
							
						 
						
							
							
								
								Split parts of dvdata.h into dvdata.c, this ensures that things like  
							
							work_chunks_* and dv_idct_factor_* variables appear only once in the binary
instead of 3 times.
Saves 3264 bytes in .rodata and 312416 bytes in .bss on x86_64.
Originally committed as revision 20246 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f6765f3f04 
								
							
								 
							
						 
						
							
							
								
								Extend DV autodetection to also reliably detect single-frame DVs with  
							
							a higher score that MAX/4.
It checks that there are at least 10 DIF headers and at least one per
24000 bytes, and if so considers the file reliably detected as DV.
Passes probetest, too.
Originally committed as revision 20074 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6377de611a 
								
							
								 
							
						 
						
							
							
								
								Try harder to avoid false positives for DV probe.  
							
							Require at least one signature match per provided 1MB of probe data,
and if there is only a single match, return at most MAX/4.
Fixes issue1382 but could/should probably still be improved.
Originally committed as revision 19848 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8a4ea200e1 
								
							
								 
							
						 
						
							
							
								
								fix dvcprohd 720p channels 3 and 4 audio timestamps, patch by Brian Brice, bbrice at gmail dot com  
							
							Originally committed as revision 19228 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7060667580 
								
							
								 
							
						 
						
							
							
								
								fix probing and demuxing of pond.dv, issue  #887  
							
							Originally committed as revision 19197 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d509c743b7 
								
							
								 
							
						 
						
							
							
								
								check if frame size matches old sys and assumes corrupted input,  fixes   #1192  
							
							Originally committed as revision 19192 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e34a5996b9 
								
							
								 
							
						 
						
							
							
								
								dv probe  
							
							Originally committed as revision 17607 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67d44b84c1 
								
							
								 
							
						 
						
							
							
								
								Support playback of incorrectly cut DV files where the headers do not  
							
							start at the first byte.
Originally committed as revision 17519 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								406792e7b0 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Remove pointless period after copyright statement non-sentences.  
							
							Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b250f9c66d 
								
							
								 
							
						 
						
							
							
								
								Change semantic of CONFIG_*, HAVE_* and ARCH_*.  
							
							They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d8b21f3e8 
								
							
								 
							
						 
						
							
							
								
								additional recovery for the badly broken streams  
							
							Originally committed as revision 16438 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f94036f159 
								
							
								 
							
						 
						
							
							
								
								prettyprinting cosmetics  
							
							Originally committed as revision 15682 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								75f2c20983 
								
							
								 
							
						 
						
							
							
								
								spelling cosmetics  
							
							Originally committed as revision 15681 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								51f4155fef 
								
							
								 
							
						 
						
							
							
								
								Make gcc 2.95 happy.  
							
							Originally committed as revision 15589 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e92dabf60 
								
							
								 
							
						 
						
							
							
								
								replacing frame_rate and frame_rate_base with an AVRational time_base  
							
							Originally committed as revision 15584 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a53621fca8 
								
							
								 
							
						 
						
							
							
								
								simplifying code as per Michael's suggestion  
							
							Originally committed as revision 15583 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c9b0b38f45 
								
							
								 
							
						 
						
							
							
								
								simplifying the code as per Michael's suggestion  
							
							Originally committed as revision 15577 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								910f02a054 
								
							
								 
							
						 
						
							
							
								
								spelling cosmetics  
							
							Originally committed as revision 15518 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f8007a1473 
								
							
								 
							
						 
						
							
							
								
								Intial implementation of the DV100 (AKA DVCPRO HD) decoder and demuxer as  
							
							specified in SMPTE 370M
Originally committed as revision 15010 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34fab90f18 
								
							
								 
							
						 
						
							
							
								
								Two cosmetic changes for improved readability and ease of HDVCPRO HD integration  
							
							Originally committed as revision 14999 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