Fix typo
authorMark Spencer <markster@digium.com>
Mon, 7 Jul 2003 20:47:53 +0000 (20:47 +0000)
committerMark Spencer <markster@digium.com>
Mon, 7 Jul 2003 20:47:53 +0000 (20:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1163 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 567cf40..badc028 100755 (executable)
@@ -3695,7 +3695,7 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
                dcallno = ntohs(fh->dcallno) & ~IAX_FLAG_RETRANS;
                /* Retrieve the type and subclass */
                f.frametype = fh->type;
-               if (f.frametype == AST_FRAME_VOICE) {
+               if (f.frametype == AST_FRAME_VIDEO) {
                        f.subclass = uncompress_subclass(fh->csub & ~0x40) | ((fh->csub & 0x40) >> 6);
                } else {
                        f.subclass = uncompress_subclass(fh->csub);