ab43beefab 
								
							
								 
							
						 
						
							
							
								
								x86inc: Drop SECTION_TEXT macro  
							
							The .text section is already 16-byte aligned by default on all supported
platforms so `SECTION_TEXT` isn't any different from `SECTION .text`.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								98c9ade985 
								
							
								 
							
						 
						
							
							
								
								drawtext: Move the strftime expansion in a separate function  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe026ba960 
								
							
								 
							
						 
						
							
							
								
								drawtext: Drop stray guards  
							
							There is a fallback for localtime_r and it is in use already.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22ecfcd4c7 
								
							
								 
							
						 
						
							
							
								
								af_channelmap: properly set the supported output channel layouts  
							
							The current code expects query_formats() to be called exactly once, it
will leak if it's not called at all (filter initialized, but never
configured or used) or try to read freed memory if it's called more than
once.
Found-by: James Almer <jamrial@gmail.com>
CC: libav-stable@libav.org  
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b15874fc2 
								
							
								 
							
						 
						
							
							
								
								af_resample: do not touch the timestamps if we are not resampling  
							
							This filter currently assumes that the input audio is continuous and
does some timestamps manipulation based on this assumption.
This is unnecessary if we are only converting the channel layout or the
sample format, without resampling. In such a case, just leave the
timestamps as they are. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d449c81b3 
								
							
								 
							
						 
						
							
							
								
								lavfi: Add library identifier  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c060d046aa 
								
							
								 
							
						 
						
							
							
								
								af_resample: Set the number of samples in the last frame  
							
							Otherwise trailing zeroes would appear.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d68c05380c 
								
							
								 
							
						 
						
							
							
								
								x86: check for AV_CPU_FLAG_AVXSLOW where useful  
							
							Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7046bd9bc9 
								
							
								 
							
						 
						
							
							
								
								lavfi: Move avcodec header to the only filter needing it  
							
							af_ashowinfo, due to the enum AVAudioServiceType use. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3735b5c616 
								
							
								 
							
						 
						
							
							
								
								Revert "lavfi: always check av_expr_parse_and_eval() return value"  
							
							This reverts commit 63be97ec40 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8eb57dc9d5 
								
							
								 
							
						 
						
							
							
								
								buffersrc: Use the correct deallocation function  
							
							This correction was suggested to me by Michael Niedermayer
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b2c57bef5 
								
							
								 
							
						 
						
							
							
								
								drawtext: Add an alpha option  
							
							And document both `draw` and `alpha`.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								617814b4a7 
								
							
								 
							
						 
						
							
							
								
								buffersrc: Fix resource leak on error  
							
							Bug-Id: CID 1267902
CC: libav-stable@libav.org 
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								88d1fb4e3f 
								
							
								 
							
						 
						
							
							
								
								filtfmts: Avoid null pointer dereference  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a3eb042c7 
								
							
								 
							
						 
						
							
							
								
								Replace av_dlog with normal av_log at trace level  
							
							This applies to every library where performance is not critical. 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cfe6461392 
								
							
								 
							
						 
						
							
							
								
								avfilter: Document avfilter_graph_alloc return value  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3bd1d60af 
								
							
								 
							
						 
						
							
							
								
								formats: Check memory allocations  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								88b160a457 
								
							
								 
							
						 
						
							
							
								
								avfilter: Return more meaningful error codes  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d3b752fce 
								
							
								 
							
						 
						
							
							
								
								graphparser: Check av_get_token() memory error  
							
							CC: libav-stable@libav.org 
Bug-Id: CID 1267891 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a6653787a4 
								
							
								 
							
						 
						
							
							
								
								libopencv: Check kernel_str life cycle  
							
							The string might or might not be set depending if there
are args and in case of error it must be freed nonetheless.
CC: libav-stable@libav.org 
Bug-Id: CID 739878 / CID 739882 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22b985d59c 
								
							
								 
							
						 
						
							
							
								
								hqdn3d: check memory allocations and propagate errors  
							
							
								
							
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8805589b80 
								
							
								 
							
						 
						
							
							
								
								libopencv: Rework error handling in parse_iplconvkernel()  
							
							Fix 'values' memory leak in case of error.
CC: libav-stable@libav.org 
Bug-Id: CID 739879 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								728685f37a 
								
							
								 
							
						 
						
							
							
								
								Add a side data type for audio service type.  
							
							Currently, audio service type is a field in AVCodecContext. However,
side data is more appropriate for this kind of information. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4438c25638 
								
							
								 
							
						 
						
							
							
								
								vf_interlace: remove the warning tag in the message  
							
							The log level is already a warning. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								15ea222778 
								
							
								 
							
						 
						
							
							
								
								vf_interlace: merge FIELD_LOWER check  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								046f75a970 
								
							
								 
							
						 
						
							
							
								
								vf_interlace: also assert for height  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								696141e898 
								
							
								 
							
						 
						
							
							
								
								vf_interlace: use image width rather than linesize  
							
							Based on a patch by Michael Niedermayer <michaelni@gmx.at>. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								63be97ec40 
								
							
								 
							
						 
						
							
							
								
								lavfi: always check av_expr_parse_and_eval() return value  
							
							CC: libav-stable@libav.org 
Bug-Id: CID 703624 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d0b224054f 
								
							
								 
							
						 
						
							
							
								
								vf_frei0r: do not increment string if it reached the end  
							
							Bug-Id: 778
CC: libav-stable@libav.org  
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71f29410e7 
								
							
								 
							
						 
						
							
							
								
								lavfi: Increase drawtext font size limits  
							
							Raise the maximum font size to a larger value.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								96fda42a8f 
								
							
								 
							
						 
						
							
							
								
								vf_interlace: get rid of useless loads  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca5c3ff909 
								
							
								 
							
						 
						
							
							
								
								vf_interlace: x86: improve asm performance  
							
							4775 decicycles -> 3688 decicycles 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								863ee8a855 
								
							
								 
							
						 
						
							
							
								
								lavfi: clean memory on error in ADD_FORMAT()  
							
							CC: libav-stable@libav.org 
Bug-Id: CID 1250334 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2e1704059a 
								
							
								 
							
						 
						
							
							
								
								vf_interlace: Add SIMD for lowpass filter  
							
							Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b9b42cc55 
								
							
								 
							
						 
						
							
							
								
								drawtext: Remove the ifdef for localtime_r  
							
							If it isn't available in the system, we've got a fallback to
the normal localtime function, so normal code can assume it is
available as long as time_internal.h is included.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ac84c1ce24 
								
							
								 
							
						 
						
							
							
								
								avfilter: check filter link validity  
							
							Remove now redundant check.
CC: libav-stable@libav.org 
Bug-Id: CID 700371 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d1afd3e1d6 
								
							
								 
							
						 
						
							
							
								
								vf_format: check input validity  
							
							CC: libav-stable@libav.org  
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d989dbfc4 
								
							
								 
							
						 
						
							
							
								
								af_resample: check av_opt_set_dict return value  
							
							CC: libav-stable@libav.org 
Bug-Id: CID 1087076 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6d96c7ea89 
								
							
								 
							
						 
						
							
							
								
								vf_showinfo: Forward the av_image_get_linesize error  
							
							CC: libav-stable@libav.org 
Bug-Id: CID 1087086 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f401792595 
								
							
								 
							
						 
						
							
							
								
								vf_drawtext: Do not leak the mmapped textfile  
							
							And validate its size while at it.
CC: libav-stable@libav.org 
Bug-Id: CID 1244189 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6cbbf0592f 
								
							
								 
							
						 
						
							
							
								
								resample: Avoid off-by-1 errors in PTS calcs.  
							
							The rounding used in the PTS calculations in filter_frame() does
not actually match the number of samples output by the resampler.
This leads to off-by-1 errors in the timestamps indicating gaps and
underruns, even when the input timestamps are all contiguous.
Bug-Id: 753
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								593aaee953 
								
							
								 
							
						 
						
							
							
								
								setpts: Add missing inttypes.h #include for PRId64  
							
							Also convert a debug av_log() to av_dlog(). 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								11cd727fbd 
								
							
								 
							
						 
						
							
							
								
								vsrc_movie: Adjust a silly typo from  b977b287f6 
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								67a7695c14 
								
							
								 
							
						 
						
							
							
								
								avfilter: Remove unused variable from ff_get_video_buffer()  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b977b287f6 
								
							
								 
							
						 
						
							
							
								
								vsrc_movie: Avoid a variable indirection in movie_get_frame()  
							
							This avoids an unused variable warning with MSVC since the variable is
only used in a debug mode printf statement. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1985c2e75c 
								
							
								 
							
						 
						
							
							
								
								Bump major versions of all libraries.  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f4c444e17d 
								
							
								 
							
						 
						
							
							
								
								Postpone API-incompatible changes until the next bump.  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1ef9e83764 
								
							
								 
							
						 
						
							
							
								
								avcodec: Deprecate dtg_active_format field in favor of avframe side-data  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								072916d903 
								
							
								 
							
						 
						
							
							
								
								filtfmts: Replace deprecated uses of AVFilterPad  
							
							Also add missing mem.h header for av_freep(). 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c6a1ac2dd9 
								
							
								 
							
						 
						
							
							
								
								vf_fps: Replace use of deprecated AVFilterBufferRef by AVFrame  
							
							
								
							
							
						 
						11 years ago