mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Correct buffer size when writing a video range.
This commit is contained in:
parent
f60aef2e16
commit
48729b90d8
1 changed files with 2 additions and 1 deletions
|
@ -799,7 +799,8 @@ int MediaEngine::writeVideoImageWithRange(u32 bufferPtr, int frameWidth, int vid
|
|||
delete [] imgbuf;
|
||||
}
|
||||
|
||||
return videoImageSize;
|
||||
// Account for the y offset as well.
|
||||
return videoImageSize + videoLineSize * ypos;
|
||||
#endif // USE_FFMPEG
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue