From 3090de6ff6990635952a1e330267e4e0b417793f Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Fri, 1 Jan 2021 09:05:38 +0300 Subject: [PATCH] comparsion fix --- src/common/frame.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/frame.c b/src/common/frame.c index 88a33fe..6f22533 100644 --- a/src/common/frame.c +++ b/src/common/frame.c @@ -94,6 +94,9 @@ bool frame_compare(const frame_s *a, const frame_s *b) { return ( a->allocated && b->allocated && a->used == b->used + && a->width == b->width + && a->height == b->height + && a->online == b->online && !memcmp(a->data, b->data, b->used) ); }