mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user