Mercurial > libavformat.hg
changeset 3707:57d88d565add libavformat
Electronic Arts demuxer: ignore PTxx platform ID values.
author | pross |
---|---|
date | Tue, 12 Aug 2008 08:33:32 +0000 |
parents | 590e8cbe6d77 |
children | ecaebc438438 |
files | electronicarts.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/electronicarts.c Tue Aug 12 08:32:59 2008 +0000 +++ b/electronicarts.c Tue Aug 12 08:33:32 2008 +0000 @@ -306,7 +306,7 @@ blockid = get_le32(pb); if (blockid == GSTR_TAG) { url_fskip(pb, 4); - } else if (blockid != PT00_TAG) { + } else if ((blockid & 0xFFFF)!=PT00_TAG) { av_log (s, AV_LOG_ERROR, "unknown SCHl headerid\n"); return 0; }