From 76a8b5e7adbb3b94611c8a7207003711c4473a1f Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Sun, 27 Aug 2017 17:55:02 +0200 Subject: [PATCH] avdevice/decklink_dec: fix signed and unsigned comparison warning Signed-off-by: Marton Balint --- libavdevice/decklink_dec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index 64157b4c16..c271ff3639 100644 --- a/libavdevice/decklink_dec.cpp +++ b/libavdevice/decklink_dec.cpp @@ -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; }