mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 13:45:45 +00:00
Fix FFmpeg problems on Linux
This commit is contained in:
parent
7b23cd0df4
commit
4f3086eab2
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ bool DecoderContext::OpenContext(const Decoder& decoder) {
|
|||
bool DecoderContext::SendPacket(const Packet& packet) {
|
||||
m_temp_frame = std::make_shared<Frame>();
|
||||
|
||||
if (const int ret = avcodec_send_packet(m_codec_context, packet.GetPacket()); ret < 0) {
|
||||
if (const int ret = avcodec_send_packet(m_codec_context, packet.GetPacket()); ret < 0 && ret != AVERROR_EOF) {
|
||||
LOG_ERROR(HW_GPU, "avcodec_send_packet error: {}", AVError(ret));
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue