mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/select: initialize prev_selected_n to NAN
As per the doc, prev_selected_n should be NAN at the start. However, this was never set.
This commit is contained in:
parent
715e5e3e23
commit
b9fd3e7a88
|
@ -233,6 +233,7 @@ static int config_input(AVFilterLink *inlink)
|
|||
|
||||
select->var_values[VAR_TB] = av_q2d(inlink->time_base);
|
||||
|
||||
select->var_values[VAR_PREV_SELECTED_N] = NAN;
|
||||
select->var_values[VAR_PREV_PTS] = NAN;
|
||||
select->var_values[VAR_PREV_SELECTED_PTS] = NAN;
|
||||
select->var_values[VAR_PREV_SELECTED_T] = NAN;
|
||||
|
|
Loading…
Reference in New Issue