Reformat code

This commit is contained in:
badaix 2024-06-20 23:18:02 +02:00
parent 2a9369274c
commit 235bd525e3

View file

@ -128,7 +128,8 @@ public:
// payloadSize = newSize;
// }
void setFrameCount(int frameCount) {
void setFrameCount(int frameCount)
{
auto newSize = format.frameSize() * frameCount;
payload = static_cast<char*>(realloc(payload, newSize));
payloadSize = newSize;