Commit 7923f2fd authored by tmmm's avatar tmmm

get the video dispatch straight


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1916 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9410404e
...@@ -237,18 +237,17 @@ static int fourxm_read_packet(AVFormatContext *s, ...@@ -237,18 +237,17 @@ static int fourxm_read_packet(AVFormatContext *s,
return ret; return ret;
fourcc_tag = LE_32(&header[0]); fourcc_tag = LE_32(&header[0]);
size = LE_32(&header[4]); 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)) if (url_feof(pb))
return -EIO; return -EIO;
switch (fourcc_tag) { 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 ifrm_TAG:
case pfrm_TAG: case pfrm_TAG:
case cfrm_TAG:{ case cfrm_TAG:{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment