pcmdec: do not needlessly set *data_size to 0
This commit is contained in:
		
							parent
							
								
									30f3e7b524
								
							
						
					
					
						commit
						6b94711f15
					
				@ -302,7 +302,6 @@ static int pcm_decode_frame(AVCodecContext *avctx,
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    buf_size= FFMIN(buf_size, *data_size/2);
 | 
			
		||||
    *data_size=0;
 | 
			
		||||
 | 
			
		||||
    n = buf_size/sample_size;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user