avcodec/aacdec_template: Initialize layout_map on declaration
				
					
				
			Without this change, it'll cause use-of-uninitialized-variable error. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
		
							parent
							
								
									a0f20c3b3f
								
							
						
					
					
						commit
						b54c7797c5
					
				@ -3312,7 +3312,7 @@ static int aac_decode_frame_int(AVCodecContext *avctx, void *data,
 | 
			
		||||
            break;
 | 
			
		||||
 | 
			
		||||
        case TYPE_PCE: {
 | 
			
		||||
            uint8_t layout_map[MAX_ELEM_ID*4][3];
 | 
			
		||||
            uint8_t layout_map[MAX_ELEM_ID*4][3] = {{0}};
 | 
			
		||||
            int tags;
 | 
			
		||||
 | 
			
		||||
            int pushed = push_output_configuration(ac);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user