rv10: Forward error from rv10_decode_packet
Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
		
				
					committed by
					
						
						Diego Biurrun
					
				
			
			
				
	
			
			
			
						parent
						
							a801453423
						
					
				
				
					commit
					b4d372e091
				
			@@ -707,7 +707,10 @@ static int rv10_decode_frame(AVCodecContext *avctx,
 | 
			
		||||
            offset + FFMAX(size, size2) > buf_size)
 | 
			
		||||
            return AVERROR_INVALIDDATA;
 | 
			
		||||
 | 
			
		||||
        if (rv10_decode_packet(avctx, buf + offset, size, size2) > 8 * size)
 | 
			
		||||
        if ((ret = rv10_decode_packet(avctx, buf + offset, size, size2)) < 0)
 | 
			
		||||
            return ret;
 | 
			
		||||
 | 
			
		||||
        if (ret > 8 * size)
 | 
			
		||||
            i++;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user