moonlight-stream / moonlight-embedded

Gamestream client for embedded systems
https://github.com/moonlight-stream/moonlight-embedded/wiki
GNU General Public License v3.0
1.49k stars 324 forks source link

video/rockchip: define READ_BUF_SIZE with a size of 0x00100000 #752

Closed 5schatten closed 5 years ago

5schatten commented 5 years ago

Description If you use SZ_1M to define READ_BUF_SIZE you also need to include the sizes.h header file which is apparently missing. SZ_1M is defined as 0x00100000 so it should be replaced by this value.

https://github.com/irtimmer/moonlight-embedded/blob/master/src/video/rk.c#L41 https://cregit.linuxsources.org/code/4.14/include/linux/sizes.h.html

Purpose

Fix build for a Rockchip RK3399 project. Otherwise compilation fails because SZ_1M isn't declared.