remove accidental double line

This commit is contained in:
Maufeat
2025-06-27 08:22:22 +02:00
parent bdfdd2a764
commit 3b0048a19d

View File

@@ -218,7 +218,6 @@ bool DecoderContext::SendPacket(const Packet& packet) {
m_temp_frame = std::make_shared<Frame>();
m_got_frame = 0;
const int ret = avcodec_send_packet(m_codec_context, packet.GetPacket());
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));