X-Git-Url: https://git.sesse.net/?p=nageru;a=blobdiff_plain;f=ref_counted_frame.cpp;h=07990179549c91128668e6119cd519873b46ec6e;hp=0b754ed6ece6d6d6c1eef904b1e2d10c4c9086c3;hb=refs%2Fheads%2Fffmpeg-audio-only;hpb=02083dca89292d6ba95642cf8957f1cee8826313 diff --git a/ref_counted_frame.cpp b/ref_counted_frame.cpp index 0b754ed..0799017 100644 --- a/ref_counted_frame.cpp +++ b/ref_counted_frame.cpp @@ -1,9 +1,11 @@ #include "ref_counted_frame.h" -void release_refcounted_frame(FrameAllocator::Frame *frame) +#include + +void release_refcounted_frame(bmusb::FrameAllocator::Frame *frame) { if (frame->owner) { frame->owner->release_frame(*frame); - delete frame; } + delete frame; }