sceMpeg: Remove an unnecessary if statement

stream is previously used in the above memcpy, so this check is not necessary.
This commit is contained in:
Lioncash 2014-12-03 16:48:58 -05:00
parent 9d97eb5b12
commit efaba33624

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;