diff options
author | Peter Ross <pross@xvid.org> | 2008-08-12 08:33:32 +0000 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2008-08-12 08:33:32 +0000 |
commit | a07f1178042cd884298b7ae47b5bf9926f44c334 (patch) | |
tree | 3208e708aa705eeda04ac6736be7491fec557326 /libavformat | |
parent | d3302b70114ed59deb601ebb37ea99e83a6f7751 (diff) | |
download | ffmpeg-a07f1178042cd884298b7ae47b5bf9926f44c334.tar.gz |
Electronic Arts demuxer: ignore PTxx platform ID values.
Originally committed as revision 14709 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/electronicarts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index 3ac0f4f1bf..5e5d84e98f 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -306,7 +306,7 @@ static int process_ea_header(AVFormatContext *s) { 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; } |