Merge pull request #7131 from lioncash/scempeg

sceMpeg: Remove an unnecessary if statement
This commit is contained in:
Henrik Rydgård 2014-12-03 22:53:02 +01:00
commit c1084b6b93

View File

@ -846,8 +846,7 @@ public:
memcpy(newstream, stream, size);
memcpy(newstream + size, str, sz);
// delete old stream
if (stream)
delete[] stream;
delete[] stream;
// replace with new stream
stream = newstream;
size = newsize;