[MPlayer-cvslog] CVS: main/libmpcodecs ve_nuv.c,1.5,1.6
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Thu Mar 3 11:19:58 CET 2005
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv24349/libmpcodecs
Modified Files:
ve_nuv.c
Log Message:
Make nuv files work on bigendian (but old nuv files created with mencoder
wont play anymore - before they would have worked with mplayer on be)
Index: ve_nuv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_nuv.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ve_nuv.c 1 Mar 2005 20:21:58 -0000 1.5
+++ ve_nuv.c 3 Mar 2005 10:19:56 -0000 1.6
@@ -116,6 +116,7 @@
ench->comptype = 'R'; // compressor data for RTjpeg
ench->packetlength = 128*sizeof(long int);
+ le2me_rtframeheader(ench);
mux_v->buffer=vf->priv->buffer;
muxer_write_chunk(mux_v,FRAMEHEADERSIZE + 128*sizeof(long int), 0x10);
vf->priv->tbl_wrote = 1;
@@ -172,6 +173,7 @@
ench->frametype = 'V'; // video frame
ench->packetlength = len;
+ le2me_rtframeheader(ench);
mux_v->buffer=(void*)ench;
muxer_write_chunk(mux_v, len + FRAMEHEADERSIZE, 0x10);
return 1;
More information about the MPlayer-cvslog
mailing list