always set packet from chunkBuffer and bytes from chunkSize
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9840 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -200,9 +200,9 @@ VorbisDecoder::Decode(void *buffer, int64 *frameCount,
|
||||
packet.e_o_s = 0;
|
||||
packet.granulepos = -1;
|
||||
packet.packetno = 7;
|
||||
packet.packet = static_cast<unsigned char *>(chunkBuffer);
|
||||
packet.bytes = chunkSize;
|
||||
}
|
||||
packet.packet = static_cast<unsigned char *>(chunkBuffer);
|
||||
packet.bytes = chunkSize;
|
||||
if (!synced) {
|
||||
if (mh.start_time > 0) {
|
||||
mediaHeader->start_time = mh.start_time - (1000000LL * total_samples) / fInfo.rate;
|
||||
|
||||
Reference in New Issue
Block a user