Core: Fix potential crashes with mAVStream
Jeffrey Pfau jeffrey@endrift.com
Mon, 15 Feb 2016 23:01:27 -0800
2 files changed,
2 insertions(+),
0 deletions(-)
M
src/platform/3ds/main.c
→
src/platform/3ds/main.c
@@ -557,6 +557,7 @@ rotation.d.readTiltX = _readTiltX;
rotation.d.readTiltY = _readTiltY; rotation.d.readGyroZ = _readGyroZ; + stream.videoDimensionsChanged = 0; stream.postVideoFrame = 0; stream.postAudioFrame = 0; stream.postAudioBuffer = _postAudioBuffer;
M
src/platform/libretro/libretro.c
→
src/platform/libretro/libretro.c
@@ -197,6 +197,7 @@ }
logger.log = GBARetroLog; mLogSetDefaultLogger(&logger); + stream.videoDimensionsChanged = 0; stream.postAudioFrame = 0; stream.postAudioBuffer = _postAudioBuffer; stream.postVideoFrame = 0;