]> git.sesse.net Git - nageru/blob - ref_counted_frame.cpp
Rework entire pts handling.
[nageru] / ref_counted_frame.cpp
1 #include "ref_counted_frame.h"
2
3 void release_refcounted_frame(FrameAllocator::Frame *frame)
4 {
5         if (frame->owner) {
6                 frame->owner->release_frame(*frame);
7                 delete frame;
8         }
9 }