[Mplayer-cvslog] CVS: main spudec.c,1.26,1.27

Atmosfear atmos4 at mplayerhq.hu
Tue Apr 30 21:20:48 CEST 2002


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

Modified Files:
	spudec.c 
Log Message:
Suggested fix by 
Arne Driescher <driescher at mpi-magdeburg.mpg.de>


Index: spudec.c
===================================================================
RCS file: /cvsroot/mplayer/main/spudec.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- spudec.c	29 Apr 2002 21:31:56 -0000	1.26
+++ spudec.c	30 Apr 2002 19:20:34 -0000	1.27
@@ -378,8 +378,8 @@
 #if 1
   // check if we have a complete packet (unfortunatelly packet_size is bad
   // for some disks)
-//  if (spu->packet_offset == spu->packet_size)
-  { unsigned int x=0,y;
+  if (spu->packet_offset == spu->packet_size){
+    unsigned int x=0,y;
     while(x+4<=spu->packet_offset){
       y=get_be16(spu->packet+x+2); // next control pointer
       mp_msg(MSGT_SPUDEC,MSGL_DBG2,"SPUtest: x=%d y=%d off=%d size=%d\n",x,y,spu->packet_offset,spu->packet_size);




More information about the MPlayer-cvslog mailing list