fix build

This commit is contained in:
pigeatgarlic 2026-05-13 16:00:28 +07:00
parent 99918c04ed
commit 2f3c3656f5
2 changed files with 3 additions and 1 deletions

View File

@ -1839,7 +1839,7 @@ int validate_config(std::shared_ptr<platf::display_t> disp, const encoder_t &enc
auto packets = mail::man->queue<packet_t>(mail::video_packets);
while (!packets->peek()) {
if (encode(1, *session, packets, nullptr, {})) {
if (encode(1, *session, packets, nullptr, {}, 0)) {
return -1;
}
}

View File

@ -8,6 +8,8 @@
#include "thread_safe.h"
#include "video_colorspace.h"
#include <cstdint>
extern "C" {
#include <libavcodec/avcodec.h>
#include <libswscale/swscale.h>