avfilter/vf_frei0r: fix out of array read
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							parent
							
								
									d4dc673455
								
							
						
					
					
						commit
						02a6ee5168
					
				@ -151,7 +151,8 @@ static int set_params(AVFilterContext *ctx, const char *params)
 | 
			
		||||
        if (*params) {
 | 
			
		||||
            if (!(param = av_get_token(¶ms, "|")))
 | 
			
		||||
                return AVERROR(ENOMEM);
 | 
			
		||||
            params++;               /* skip ':' */
 | 
			
		||||
            if (*params)
 | 
			
		||||
                params++;               /* skip ':' */
 | 
			
		||||
            ret = set_param(ctx, info, i, param);
 | 
			
		||||
            av_free(param);
 | 
			
		||||
            if (ret < 0)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user