mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
Merge pull request #5816 from raven02/patch-8
No need to init packet as 0
This commit is contained in:
commit
f328cfe655
3 files changed
+3
-4
No files matched your search
@@ -473,7 +473,7 @@ bool MediaEngine::stepVideo(int videoPixelMode) {
|
||||
// Update the linesize for the new format too. We started with the largest size, so it should fit.
|
||||
m_pFrameRGB->linesize[0] = getPixelFormatBytes(videoPixelMode) * m_desWidth;
|
||||
|
||||
AVPacket packet = {0};
|
||||
AVPacket packet;
|
||||
av_init_packet(&packet);
|
||||
int frameFinished;
|
||||
bool bGetFrame = false;
|
||||
|
||||
Reference in new issue
Block a user