[MPlayer-dev-eng] [PATCH] big endian compile bug

Diego Biurrun diego at biurrun.de
Tue Dec 9 07:55:40 CET 2003


Steven M. Schultz writes:
 > 	Trivial patch attached which cleared up the compile problem.
 > *** demux_real.c.dist	Mon Dec  8 20:37:17 2003
 > --- demux_real.c	Mon Dec  8 21:36:14 2003
 > ***************
 > *** 1364,1370 ****
 >       if(demuxer->video->sh){
 >   	sh_video_t *sh=demuxer->video->sh;
 >   	mp_msg(MSGT_DEMUX,MSGL_INFO,"VIDEO:  %.4s [%08X,%08X]  %dx%d  (aspect %4.2f)  %4.2f fps\n",
 > ! 	    (char *)&(le2me_32(sh->format)),((unsigned int*)(sh->bih+1))[1],((unsigned int*)(sh->bih+1))[0],
 >   	    sh->disp_w,sh->disp_h,sh->aspect,sh->fps);
 >       }
 >   
 > --- 1364,1370 ----
 >       if(demuxer->video->sh){
 >   	sh_video_t *sh=demuxer->video->sh;
 >   	mp_msg(MSGT_DEMUX,MSGL_INFO,"VIDEO:  %.4s [%08X,%08X]  %dx%d  (aspect %4.2f)  %4.2f fps\n",
 > ! 	    (char *)&sh->format,((unsigned int*)(sh->bih+1))[1],((unsigned int*)(sh->bih+1))[0],
 >   	    sh->disp_w,sh->disp_h,sh->aspect,sh->fps);
 >       }

What patch format is this, btw?  Anyway, it is ugly and unreadable,
although patch can apply it.  Unified diff is the preferred format
here.  Please send unified diffs if you can.  I remember you sending
unified diffs before, so I somehow suspect you are sending from an
obscure *BSD platform with a diff that does not support unified diff
output..

Diego



More information about the MPlayer-dev-eng mailing list