ac9362c5d9 
								
							
								 
							
						 
						
							
							
								
								Move misplaced file author information where it belongs  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								523c7bd23c 
								
							
								 
							
						 
						
							
							
								
								misc typo, style and wording fixes  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bfe5454cd2 
								
							
								 
							
						 
						
							
							
								
								lavf: move ff_codec_get_tag() and ff_codec_get_id() definitions to internal.h  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d633e15d7d 
								
							
								 
							
						 
						
							
							
								
								nsvdec: fix division by 0  
							
							Fixes CID717749
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a1fb2b935a 
								
							
								 
							
						 
						
							
							
								
								nsvdec: change 2 commented assert() to av_assert()  
							
							they keep showing up if i grep for non av assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30b1961c66 
								
							
								 
							
						 
						
							
							
								
								Mark a number of variables only used in av_dlog() calls as av_unused.  
							
							This fixes a number of unused-but-set gcc warnings. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6df5c528ca 
								
							
								 
							
						 
						
							
							
								
								Move some conditionally used variables into the block where they are used.  
							
							This allows dropping the av_unused argument from them. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7331b6e718 
								
							
								 
							
						 
						
							
							
								
								Drop some completely unnecessary av_unused attributes.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8dcd00eabd 
								
							
								 
							
						 
						
							
							
								
								nsvdec: 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  
				
					
						
							
							
								 
						
							
							
							
								
							
								c898431ca5 
								
							
								 
							
						 
						
							
							
								
								nsvdec: Propagate errors  
							
							Related to CVE-2011-3940.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8fd8a48263 
								
							
								 
							
						 
						
							
							
								
								nsvdec: Be more careful with av_malloc().  
							
							Check results for av_malloc() and fix an overflow in one call.
Related to CVE-2011-3940.
Based in part on work from Michael Niedermayer.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6a89b41d97 
								
							
								 
							
						 
						
							
							
								
								nsvdec: Fix use of uninitialized streams.  
							
							Fixes CVE-2011-3940 (Out of bounds read resulting in out of bounds write)
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 5c011706bc 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e9651d106 
								
							
								 
							
						 
						
							
							
								
								lavf: remove AVFormatParameters from AVFormatContext.read_header signature  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c011706bc 
								
							
								 
							
						 
						
							
							
								
								nsvdec: Fix use of uninitialized streams.  
							
							Fixes CVE-2011-3940 (Out of bounds read resulting in out of bounds write)
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b9e0e9537a 
								
							
								 
							
						 
						
							
							
								
								nsvdec: Check av_malloc(string_size)  
							
							This can easily be NULL as string_size can be 2g in a damaged file.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36be045ed7 
								
							
								 
							
						 
						
							
							
								
								Support "VLB " audio in NSV files.  
							
							See samples/nsv/vlb_audio.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3068d43a8 
								
							
								 
							
						 
						
							
							
								
								Support VP8 in NSV.  
							
							Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3f9ebf743 
								
							
								 
							
						 
						
							
							
								
								lavf: make av_set_pts_info private.  
							
							It's supposed to be called only from (de)muxers. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								20566eb0f0 
								
							
								 
							
						 
						
							
							
								
								Replace outdated references to ffmpeg tool with avconv.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								84ad31ff18 
								
							
								 
							
						 
						
							
							
								
								lavf: replace av_new_stream->avformat_new_stream part II.  
							
							Manual replacements are done in this commit.
In many cases, the id is some constant made up number (e.g. 0 for video
and 1 for audio), which is then not used in the demuxer for anything.
Those ids are removed. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e22155ef0e 
								
							
								 
							
						 
						
							
							
								
								[nsv] Check return value of avio_seek and avoid modifying state if it fails  
							
							
								
							
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								35fa0d4758 
								
							
								 
							
						 
						
							
							
								
								nsvdec: Propagate error values instead of returning 0 in nsv_read_header().  
							
							This eliminates a warning about a set-but-unused variable. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eb8de45c3c 
								
							
								 
							
						 
						
							
							
								
								nsv: simplify probe function  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								223694b404 
								
							
								 
							
						 
						
							
							
								
								nsv: return error code instead of discarding it in read_header()  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								919d7a345a 
								
							
								 
							
						 
						
							
							
								
								Replace DEBUG_SEEK/DEBUG_SI + av_log combinations by av_dlog.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2d67e424f 
								
							
								 
							
						 
						
							
							
								
								Remove all uses of now deprecated metadata functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5e1166b31b 
								
							
								 
							
						 
						
							
							
								
								Mark some variables with av_unused  
							
							Most of these variables are only used in av_dlog statements, some
are required but not used by other macros.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b7903ab16b 
								
							
								 
							
						 
						
							
							
								
								If a MP3 file contains the string NSVs, the NSV probe will think it is a NSV file instead of a MP3 file. Check for 0xBEEF after a Video/Audio chunck for more accuracy.  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45faf7fcd3 
								
							
								 
							
						 
						
							
							
								
								nsv: Fix misdetection of MP3 files as NSV.  
							
							If an MP3 file contains the string NSVs, the NSV probe will confuse it for an
NSV file. Check for 0xBEEF after a Video/Audio chunk to achieve more accuracy.
Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45a8a02a41 
								
							
								 
							
						 
						
							
							
								
								lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.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  
				
					
						
							
							
								 
						
							
							
							
								
							
								384c9c2fa7 
								
							
								 
							
						 
						
							
							
								
								avio: add avio_tell macro as a replacement for url_ftell  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit a2704c9712 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								74b3f67c9c 
								
							
								 
							
						 
						
							
							
								
								lavf: replace all uses of url_fskip with avio_seek  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit e356fc57a2 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f59d8ff8cd 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_fseek  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 6b4aa5dac8 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e356fc57a2 
								
							
								 
							
						 
						
							
							
								
								lavf: replace all uses of url_fskip with avio_seek  
							
							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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e63a362857 
								
							
								 
							
						 
						
							
							
								
								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>
(cherry picked from commit b7effd4e83 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								471fe57e1a 
								
							
								 
							
						 
						
							
							
								
								avio: rename ByteIOContext to AVIOContext.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ae628ec1fd 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae628ec1fd 
								
							
								 
							
						 
						
							
							
								
								avio: rename ByteIOContext to AVIOContext.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c4461aa83c 
								
							
								 
							
						 
						
							
							
								
								fix nsvdec.c compilation if DEBUG macro defined  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 41cdc1ff1e 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41cdc1ff1e 
								
							
								 
							
						 
						
							
							
								
								fix nsvdec.c compilation if DEBUG macro defined  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								73b3b52285 
								
							
								 
							
						 
						
							
							
								
								fix nsvdec.c compilation if DEBUG defined  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit d06497f316 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d06497f316 
								
							
								 
							
						 
						
							
							
								
								fix nsvdec.c compilation if DEBUG defined  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66355be3c3 
								
							
								 
							
						 
						
							
							
								
								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.
(cherry picked from commit c6610a216e 
							
						 
						14 years ago