You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	ac3enc: remove unneeded local variable in asym_quant()
This commit is contained in:
		| @@ -1123,14 +1123,14 @@ static inline int sym_quant(int c, int e, int levels) | |||||||
|  */ |  */ | ||||||
| static inline int asym_quant(int c, int e, int qbits) | static inline int asym_quant(int c, int e, int qbits) | ||||||
| { | { | ||||||
|     int m, v; |     int m; | ||||||
|  |  | ||||||
|     v = (((c << e) >> (24 - qbits)) + 1) >> 1; |     c = (((c << e) >> (24 - qbits)) + 1) >> 1; | ||||||
|     m = (1 << (qbits-1)); |     m = (1 << (qbits-1)); | ||||||
|     if (v >= m) |     if (c >= m) | ||||||
|         v = m - 1; |         c = m - 1; | ||||||
|     av_assert2(v >= -m); |     av_assert2(c >= -m); | ||||||
|     return v; |     return c; | ||||||
| } | } | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user