av_log(ctx,AV_LOG_ERROR,"Out of range frames %"PRId64" and/or %"PRId64" on line %"PRId64" for %"PRId64". input frame.\n",tf,bf,s->line,inlink->frame_count_out);
returnAVERROR_INVALIDDATA;
}
break;
case1:
casePATTERN_HINT:
caseRELATIVE_HINT:
if(tf>1||tf<-1||
bf>1||bf<-1){
av_log(ctx,AV_LOG_ERROR,"Out of range %"PRId64" and/or %"PRId64" on line %"PRId64" for %"PRId64". input frame.\n",tf,bf,s->line,inlink->frame_count_out);
returnAVERROR_INVALIDDATA;
}
break;
default:
returnAVERROR_BUG;
};
break;
}else{
if(s->mode==PATTERN_HINT){
fseek(s->hint,0,SEEK_SET);
continue;
}
av_log(ctx,AV_LOG_ERROR,"Missing entry for %"PRId64". input frame.\n",inlink->frame_count_out);
returnAVERROR_INVALIDDATA;
}
@ -168,11 +184,12 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)