# HG changeset patch # User tmmm # Date 1054165800 0 # Node ID 9e73bf732800d8ad5c61d75262ab000a839761fd # Parent 76dd1e93b06400548dd2124404d51649767efe1b get the video dispatch straight diff -r 76dd1e93b064 -r 9e73bf732800 4xm.c --- a/4xm.c Wed May 28 02:41:24 2003 +0000 +++ b/4xm.c Wed May 28 23:50:00 2003 +0000 @@ -237,18 +237,17 @@ return ret; fourcc_tag = LE_32(&header[0]); size = LE_32(&header[4]); - if (fourcc_tag == LIST_TAG) { - /* skip the LIST-FRAM tag and get the next fourcc */ - get_le32(pb); - fourcc_tag = get_le32(pb); - size = get_le32(pb); - } if (url_feof(pb)) return -EIO; switch (fourcc_tag) { + case LIST_TAG: + /* skip the LIST-* tag and move on to the next fourcc */ + get_le32(pb); + break; + case ifrm_TAG: case pfrm_TAG: case cfrm_TAG:{