You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	swr: fix alignment issue caused by 8ch sse functions
Fix crash when doing 8 ch conversion from apps compiled with MSVS Thanks to Ronald for giving this hint: https://ffmpeg.org/pipermail/ffmpeg-devel/2015-May/173049.html Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
				
					committed by
					
						 Michael Niedermayer
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							cc48409b51
						
					
				
				
					commit
					adb7372f74
				
			| @@ -23,6 +23,7 @@ | ||||
| #include "audioconvert.h" | ||||
| #include "libavutil/avassert.h" | ||||
| #include "libavutil/channel_layout.h" | ||||
| #include "libavutil/internal.h" | ||||
|  | ||||
| #include <float.h> | ||||
|  | ||||
| @@ -663,8 +664,8 @@ int swr_is_initialized(struct SwrContext *s) { | ||||
|     return !!s->in_buffer.ch_count; | ||||
| } | ||||
|  | ||||
| int swr_convert(struct SwrContext *s, uint8_t *out_arg[SWR_CH_MAX], int out_count, | ||||
|                                 const uint8_t *in_arg [SWR_CH_MAX], int  in_count){ | ||||
| int attribute_align_arg swr_convert(struct SwrContext *s, uint8_t *out_arg[SWR_CH_MAX], int out_count, | ||||
|                                                     const uint8_t *in_arg [SWR_CH_MAX], int  in_count){ | ||||
|     AudioData * in= &s->in; | ||||
|     AudioData *out= &s->out; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user