summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-14 00:57:52 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-18 16:38:09 +0100
commit626a076249c20477c4170e86bb255849404dbf6b (patch)
treefca9a845c77aa96e00749bfdc8aa9aea892be165
parentbf82b6517e5357c9ac4f2e3fbc9d017f95575ab6 (diff)
avfilter/signature_lookup: Remove useless error logs
These logs use the wrong loglevel and are uninformative; and it is of course highly unlikely that a buffer of 56B can't be allocated. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavfilter/signature_lookup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavfilter/signature_lookup.c b/libavfilter/signature_lookup.c
index 3a42737e1a..ff0d23c5c7 100644
--- a/libavfilter/signature_lookup.c
+++ b/libavfilter/signature_lookup.c
@@ -297,13 +297,9 @@ static MatchingInfo* get_matching_parameters(AVFilterContext *ctx, SignatureCont
if (hmax < hspace[i][j].score) {
if (c == NULL) {
c = av_malloc(sizeof(MatchingInfo));
- if (!c)
- av_log(ctx, AV_LOG_FATAL, "Could not allocate memory");
cands = c;
} else {
c->next = av_malloc(sizeof(MatchingInfo));
- if (!c->next)
- av_log(ctx, AV_LOG_FATAL, "Could not allocate memory");
c = c->next;
}