Do no re-use the same packet again if not supposed to. Was not a problem with
how everything currently worked. (Packet peaking was only done once in Init().) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31423 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7965dde0ca
commit
fcb875cdf4
@ -765,6 +765,7 @@ AVFormatReader::StreamCookie::_NextPacket(bool reuse)
|
||||
if (fReusePacket) {
|
||||
// The last packet was marked for reuse, so we keep using it.
|
||||
TRACE_PACKET(" re-using last packet\n");
|
||||
fReusePacket = reuse;
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user