mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-31 20:42:49 +08:00 
			
		
		
		
	WMAL: Restore removed code in mclms_predict()
Based on observations made by Jakub Stachowski <qbast@go2.pl> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
This commit is contained in:
		 Mashiat Sarker Shakkhar
					Mashiat Sarker Shakkhar
				
			
				
					committed by
					
						 Kostya Shishkov
						Kostya Shishkov
					
				
			
			
				
	
			
			
			 Kostya Shishkov
						Kostya Shishkov
					
				
			
						parent
						
							44f99fe0f5
						
					
				
				
					commit
					363c3a44ff
				
			| @@ -655,6 +655,8 @@ static void mclms_predict(WmallDecodeCtx *s, int icoef, int *pred) | ||||
|  | ||||
|     for (ich = 0; ich < num_channels; ich++) { | ||||
|         pred[ich] = 0; | ||||
|         if (!s->is_channel_coded[ich]) | ||||
|             continue; | ||||
|         for (i = 0; i < order * num_channels; i++) | ||||
|             pred[ich] += s->mclms_prevvalues[i + s->mclms_recent] * | ||||
|                          s->mclms_coeffs[i + order * num_channels * ich]; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user