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:
Stephan Aßmus 2009-07-06 14:40:09 +00:00
parent 7965dde0ca
commit fcb875cdf4
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}