]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
CID: 1294483 no need to check if an unsigned variable is less than 0
authorWilliam King <william.king@quentustech.com>
Thu, 16 Apr 2015 18:37:34 +0000 (11:37 -0700)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:47:21 +0000 (12:47 -0500)
src/switch_core_video.c

index 4ee233d2c86753ddd3b3be8e6e68fd9055a04ee6..477d6e8606f5f18915fdb32f9d56d9ffeedcec2f 100644 (file)
@@ -350,7 +350,7 @@ static void scv_tag(void *buffer, int w, int x, int y, uint8_t n)
        int i = 0, j=0;
        uint8_t *p = buffer;
 
-       if (n < 0 || n > 13) return;
+       if (n > 13) return;
 
        for(i=0; i<8; i++) {
                for (j=0; j<16; j++) {