summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-02-10 20:54:52 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-02-10 20:54:52 +0100
commite4d253c8d07929955ee391a365d8a74f691f6d83 (patch)
tree8c7a13883d1f7a684277ad47eff3d64d8b408e82 /src
parent998b7e43af9c535a167e3063aea4b0b232639662 (diff)
video: fix comparison between signed and unsigned integer warning
Diffstat (limited to 'src')
-rw-r--r--src/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video.c b/src/video.c
index e1ff867..8954e0a 100644
--- a/src/video.c
+++ b/src/video.c
@@ -398,7 +398,7 @@ static void encode_rtp_send(struct vtx *vtx, struct vidframe *frame)
lock_write_get(vtx->lock);
/* Convert image */
- if (frame->fmt != vtx->video->cfg.enc_fmt) {
+ if (frame->fmt != (enum vidfmt)vtx->video->cfg.enc_fmt) {
vtx->vsrc_size = frame->size;