[MPlayer-cvslog] r22166 - trunk/libmpdemux/demux_avi.c

reimar subversion at mplayerhq.hu
Tue Feb 6 20:01:28 CET 2007


Author: reimar
Date: Tue Feb  6 20:01:28 2007
New Revision: 22166

Modified:
   trunk/libmpdemux/demux_avi.c

Log:
Support some weird AVI header, fixes bug 742
(http://samples.mplayerhq.hu/avi/samsung_crap_bug742.avi)


Modified: trunk/libmpdemux/demux_avi.c
==============================================================================
--- trunk/libmpdemux/demux_avi.c	(original)
+++ trunk/libmpdemux/demux_avi.c	Tue Feb  6 20:01:28 2007
@@ -807,6 +807,9 @@
     id=stream_read_dword_le(demuxer->stream); // "AVI "
     if(id==formtypeAVI)
       return DEMUXER_TYPE_AVI;
+    // "Samsung Digimax i6 PMP" crap according to bug 742
+    if(id==mmioFOURCC('A','V','I',0x19))
+      return DEMUXER_TYPE_AVI;
     if(id==mmioFOURCC('O','N','2','f')){
       mp_msg(MSGT_DEMUXER,MSGL_INFO,MSGTR_ON2AviFormat);
       return DEMUXER_TYPE_AVI;



More information about the MPlayer-cvslog mailing list