[FFmpeg-devel] [PATCH] avfilter/select: initialize prev_selected_n to NAN

2023-12-07 Thread Gyan Doshi
As per the doc, prev_selected_n should be NAN at the start. However, this was never set. --- libavfilter/f_select.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c index 47e36f0014..109dae403a 100644 --- a/libavfilter/f_select.c +++ b/libavfilter

Re: [FFmpeg-devel] [PATCH] avfilter/select: initialize prev_selected_n to NAN

2023-12-09 Thread Stefano Sabatini
On date Friday 2023-12-08 13:05:43 +0530, Gyan Doshi wrote: > As per the doc, prev_selected_n should be NAN at the start. > However, this was never set. > --- > libavfilter/f_select.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c > index

Re: [FFmpeg-devel] [PATCH] avfilter/select: initialize prev_selected_n to NAN

2023-12-09 Thread Gyan Doshi
On 2023-12-10 06:03 am, Stefano Sabatini wrote: On date Friday 2023-12-08 13:05:43 +0530, Gyan Doshi wrote: As per the doc, prev_selected_n should be NAN at the start. However, this was never set. --- libavfilter/f_select.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/f_