[Mplayer-cvslog] CVS: main/libmpdemux aviwrite.c,1.11,1.12

Colin Leroy CVS colin at mplayerhq.hu
Sun Nov 3 10:51:09 CET 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv6216/libmpdemux

Modified Files:
	aviwrite.c 
Log Message:
remove BE hack (yes, works now ! :-))


Index: aviwrite.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/aviwrite.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- aviwrite.c	29 Aug 2002 21:37:45 -0000	1.11
+++ aviwrite.c	3 Nov 2002 09:51:06 -0000	1.12
@@ -147,15 +147,6 @@
   aviwrite_info_t info[16];
 
   // RIFF header:
-#ifdef WORDS_BIGENDIAN 
-  /* FIXME: updating the header on big-endian causes the video
-   * to be unreadable ("AVI_NI: No video stream found!").
-   * Just don't update it (no seeking, not playable with WMP,
-   * but better than nothing)
-   */
-  if(muxer->file_end != 0)
-      return;
-#endif
   riff[0]=mmioFOURCC('R','I','F','F');
   riff[1]=muxer->file_end-2*sizeof(unsigned int);  // filesize
   riff[2]=formtypeAVI; // 'AVI '




More information about the MPlayer-cvslog mailing list