You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Intel C compiler warns on this assignment in this if(), probably
because it's being assigned as a constant. To avoid a spurious warning, split it into two instructions, which should also make it more logical once the FIXME is resolved. patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com% Originally committed as revision 15525 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
				
					committed by
					
						 Guillaume Poirier
						Guillaume Poirier
					
				
			
			
				
	
			
			
			
						parent
						
							d3b9e7f19b
						
					
				
				
					commit
					2d5174fc46
				
			| @@ -178,7 +178,8 @@ static int encode_block(WMACodecContext *s, float (*src_coefs)[BLOCK_MAX_SIZE], | ||||
|     } | ||||
|  | ||||
|     for(ch = 0; ch < s->nb_channels; ch++) { | ||||
|         if ((s->channel_coded[ch]= 1)) { //FIXME only set channel_coded when needed, instead of always | ||||
|         s->channel_coded[ch] = 1; //FIXME only set channel_coded when needed, instead of always | ||||
|         if (s->channel_coded[ch]) { | ||||
|             init_exp(s, ch, fixed_exp); | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user