Skip to content

Commit

Permalink
Mpeg: Correct incorrect upload size return.
Browse files Browse the repository at this point in the history
  • Loading branch information
unknownbrackets committed Feb 15, 2021
1 parent b999518 commit 8e6a438
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Core/HW/MediaEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -922,8 +922,7 @@ int MediaEngine::writeVideoImageWithRange(u32 bufferPtr, int frameWidth, int vid
delete [] imgbuf;
}

// Account for the y offset as well.
return videoImageSize + videoLineSize * ypos;
return videoImageSize;
#endif // USE_FFMPEG
return 0;
}
Expand Down

0 comments on commit 8e6a438

Please sign in to comment.