summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-02-10 20:58:49 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-02-10 20:58:49 +0100
commit347310c749cf729be86afcb6f98967bfdad025fc (patch)
tree3124e28366e471bbe943c3c2d2e365c1660ffc85 /modules
parente4d253c8d07929955ee391a365d8a74f691f6d83 (diff)
vidloop: fix comparison between signed and unsigned integer warning
Diffstat (limited to 'modules')
-rw-r--r--modules/vidloop/vidloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/vidloop/vidloop.c b/modules/vidloop/vidloop.c
index 6deddf2..a24dbd0 100644
--- a/modules/vidloop/vidloop.c
+++ b/modules/vidloop/vidloop.c
@@ -175,7 +175,7 @@ static void vidsrc_frame_handler(struct vidframe *frame, void *arg)
++vl->stat.frames;
- if (frame->fmt != vl->cfg.enc_fmt) {
+ if (frame->fmt != (enum vidfmt)vl->cfg.enc_fmt) {
if (!vl->need_conv) {
info("vidloop: NOTE: pixel-format conversion"