MaranBr
8 months ago
committed by
crueter
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
1 additions and
1 deletions
-
src/video_core/host1x/ffmpeg/ffmpeg.cpp
|
|
@ -216,7 +216,7 @@ bool DecoderContext::OpenContext(const Decoder& decoder) { |
|
|
bool DecoderContext::SendPacket(const Packet& packet) { |
|
|
bool DecoderContext::SendPacket(const Packet& packet) { |
|
|
m_temp_frame = std::make_shared<Frame>(); |
|
|
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)); |
|
|
LOG_ERROR(HW_GPU, "avcodec_send_packet error: {}", AVError(ret)); |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|
|