mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
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:
parent
9d97eb5b12
commit
efaba33624
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue