diff --git a/libavutil/avsscanf.c b/libavutil/avsscanf.c index 7061e6d965..94f7710043 100644 --- a/libavutil/avsscanf.c +++ b/libavutil/avsscanf.c @@ -669,7 +669,6 @@ static double fffloatscan(FFFILE *f, int prec, int pok) while (i--) shunget(f); return NAN; } - return NAN; } if (i) {