You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avdevice/decklink_dec: fix signed and unsigned comparison warning
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -234,7 +234,7 @@ static int avpacket_queue_put(AVPacketQueue *q, AVPacket *pkt)
|
|||||||
AVPacketList *pkt1;
|
AVPacketList *pkt1;
|
||||||
|
|
||||||
// Drop Packet if queue size is > maximum queue size
|
// 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");
|
av_log(q->avctx, AV_LOG_WARNING, "Decklink input buffer overrun!\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user