[FFmpeg-cvslog] r14709 - trunk/libavformat/electronicarts.c

pross subversion
Tue Aug 12 10:33:33 CEST 2008


Author: pross
Date: Tue Aug 12 10:33:32 2008
New Revision: 14709

Log:
Electronic Arts demuxer: ignore PTxx platform ID values.


Modified:
   trunk/libavformat/electronicarts.c

Modified: trunk/libavformat/electronicarts.c
==============================================================================
--- trunk/libavformat/electronicarts.c	(original)
+++ trunk/libavformat/electronicarts.c	Tue Aug 12 10:33:32 2008
@@ -306,7 +306,7 @@ static int process_ea_header(AVFormatCon
                 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;
                 }




More information about the ffmpeg-cvslog mailing list