aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-08-27 17:55:02 +0200
committerMarton Balint <cus@passwd.hu>2017-08-27 17:55:43 +0200
commit76a8b5e7adbb3b94611c8a7207003711c4473a1f (patch)
tree78540ee37d516fa5f37e36f49426b3baca354621
parentbf39f7eadc684ab291a6f42ee9a85a6c2d804bc7 (diff)
downloadffmpeg-76a8b5e7adbb3b94611c8a7207003711c4473a1f.tar.gz
avdevice/decklink_dec: fix signed and unsigned comparison warning
Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r--libavdevice/decklink_dec.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}