xingzilong
2017-08-18 9e5babf9db52e64bdae60137be7696e56241fca6
RtspFace/PreAllocBufferQueue.cpp
@@ -71,6 +71,16 @@
   return qbuff;
}
PreAllocBufferQueue::Buffer* PreAllocBufferQueue::Seek()
{
   if (usedBuffers.empty())
      return nullptr;
   Buffer* qbuff = usedBuffers.front();
   return qbuff;
}
bool PreAllocBufferQueue::Empty() const
{
   return usedBuffers.empty();