Merge pull request #5816 from raven02/patch-8

No need to init packet as 0
This commit is contained in:
Henrik Rydgård committed 2014-04-09 15:01:00 +02:00
commit f328cfe655
3 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -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;