Commit 76a8b5e7 authored by Marton Balint's avatar Marton Balint

avdevice/decklink_dec: fix signed and unsigned comparison warning

Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent bf39f7ea
......@@ -234,7 +234,7 @@ static int avpacket_queue_put(AVPacketQueue *q, AVPacket *pkt)
AVPacketList *pkt1;
// Drop Packet if queue size is > maximum queue size
if (avpacket_queue_size(q) > q->max_q_size) {
if (avpacket_queue_size(q) > (uint64_t)q->max_q_size) {
av_log(q->avctx, AV_LOG_WARNING, "Decklink input buffer overrun!\n");
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment