You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	lavc/audiodsp: fix RISC-V V scalar product (again)
The loop uses a 32-bit accumulator. The current code would only zero the lower 16 bits thereof.
This commit is contained in:
		
				
					committed by
					
						 Lynne
						Lynne
					
				
			
			
				
	
			
			
			
						parent
						
							fd5c273f26
						
					
				
				
					commit
					4d66e8c12e
				
			| @@ -21,7 +21,7 @@ | ||||
| #include "libavutil/riscv/asm.S" | ||||
|  | ||||
| func ff_scalarproduct_int16_rvv, zve32x | ||||
|         vsetivli    zero, 1, e16, m1, ta, ma | ||||
|         vsetivli    zero, 1, e32, m1, ta, ma | ||||
|         vmv.s.x     v8, zero | ||||
| 1: | ||||
|         vsetvli     t0, a2, e16, m1, ta, ma | ||||
|   | ||||
		Reference in New Issue
	
	Block a user