[FFmpeg-cvslog] avutil/avsscanf: Remove dead code

Michael Niedermayer git at videolan.org
Sun Jul 21 18:18:48 EEST 2024


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Jul 11 22:49:50 2024 +0200| [064bcda142dc737d8bca2d76f48c1ee9baf463b3] | committer: Michael Niedermayer

avutil/avsscanf: Remove dead code

Fixes: CID1604498 Structurally dead code

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=064bcda142dc737d8bca2d76f48c1ee9baf463b3
---

 libavutil/avsscanf.c | 1 -
 1 file changed, 1 deletion(-)

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) {



More information about the ffmpeg-cvslog mailing list