Backport of "rtpjpegpay: fix image corruption when compiled with MSVC on Windows" into 1.18
Backport of !999 (merged) "rtpjpegpay: fix image corruption when compiled with MSVC on Windows".
Commits:
- aa4448cd rtpjpegpay: fix image corruption when compiled with MSVC on Windows