[FFmpeg-cvslog] avfilter/vf_ssim360: Remove dead code
Andreas Rheinhardt
git at videolan.org
Tue Mar 14 08:32:09 EET 2023
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Mar 12 22:45:57 2023 +0100| [2732d0507c5ee6961d49212e71717fc4fbc72d16] | committer: Andreas Rheinhardt
avfilter/vf_ssim360: Remove dead code
Fixes Coverity issue #1520669.
Reviewed-by: Anton Khirnov <anton at khirnov.net>
Reviewed-by: Jan Ekström <jeebjp at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2732d0507c5ee6961d49212e71717fc4fbc72d16
---
libavfilter/vf_ssim360.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libavfilter/vf_ssim360.c b/libavfilter/vf_ssim360.c
index f8ce0744f2..5794275c2c 100644
--- a/libavfilter/vf_ssim360.c
+++ b/libavfilter/vf_ssim360.c
@@ -1274,10 +1274,6 @@ static int parse_heatmaps(void *logctx, HeatmapList **proot,
ret = AVERROR(ENOMEM);
goto fail;
}
- if (!line) {
- av_freep(&line);
- break;
- }
// first value is frame id
av_strtok(line, ",", &saveptr);
More information about the ffmpeg-cvslog
mailing list