mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-01 23:35:47 +00:00
Fix SPS length being 4 bytes short
This commit is contained in:
parent
6a7ac5c7cb
commit
5f167ce109
@ -78,5 +78,5 @@ void gs_sps_fix(PLENTRY sps, int flags, uint8_t* out_buf, uint32_t* out_offset)
|
||||
memcpy(out_buf+*out_offset, naluHeader, 4);
|
||||
*out_offset += 4;
|
||||
|
||||
*out_offset = write_nal_unit(h264_stream, out_buf+*out_offset, 128);
|
||||
*out_offset += write_nal_unit(h264_stream, out_buf+*out_offset, 128);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user