mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-14 19:43:42 +00:00
comparsion fix
This commit is contained in:
@@ -94,6 +94,9 @@ bool frame_compare(const frame_s *a, const frame_s *b) {
|
|||||||
return (
|
return (
|
||||||
a->allocated && b->allocated
|
a->allocated && b->allocated
|
||||||
&& a->used == b->used
|
&& a->used == b->used
|
||||||
|
&& a->width == b->width
|
||||||
|
&& a->height == b->height
|
||||||
|
&& a->online == b->online
|
||||||
&& !memcmp(a->data, b->data, b->used)
|
&& !memcmp(a->data, b->data, b->used)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user