libobs: Fix circlebuf_pop_back returning front
This commit is contained in:
parent
c9612983e6
commit
a0a0ca73c1
@ -292,7 +292,7 @@ static inline void circlebuf_pop_front(struct circlebuf *cb, void *data,
|
||||
static inline void circlebuf_pop_back(struct circlebuf *cb, void *data,
|
||||
size_t size)
|
||||
{
|
||||
circlebuf_peek_front(cb, data, size);
|
||||
circlebuf_peek_back(cb, data, size);
|
||||
|
||||
cb->size -= size;
|
||||
if (!cb->size) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user