[Mplayer-cvslog] CVS: main/libmpeg2 slice.c,1.4,1.5

GEREOFFY arpi_esp at users.sourceforge.net
Sun Mar 18 20:41:33 CET 2001


Update of /cvsroot/mplayer/main/libmpeg2
In directory usw-pr-cvs1:/tmp/cvs-serv15811

Modified Files:
	slice.c 
Log Message:
applied Walken's MB stuffing patch

Index: slice.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpeg2/slice.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** slice.c	2001/03/07 01:15:02	1.4
--- slice.c	2001/03/18 19:41:31	1.5
***************
*** 977,981 ****
  	default:	/* end of slice, or error */
  //	    printf("MB error: %d  \n",(UBITS (bit_buf, 11))); // FIXME!
! 	    return 0;
  	}
      }
--- 977,982 ----
  	default:	/* end of slice, or error */
  //	    printf("MB error: %d  \n",(UBITS (bit_buf, 11))); // FIXME!
! //	    return 0;
! 	    return -1;
  	}
      }
***************
*** 1756,1760 ****
  	NEEDBITS (bit_buf, bits, bit_ptr);
  
! 	if (bit_buf & 0x80000000) {
  	    DUMPBITS (bit_buf, bits, 1);
  	} else {
--- 1757,1761 ----
  	NEEDBITS (bit_buf, bits, bit_ptr);
  
! 	if (0 /* FIXME */ && (bit_buf & 0x80000000)) {
  	    DUMPBITS (bit_buf, bits, 1);
  	} else {
***************
*** 1763,1766 ****
--- 1764,1769 ----
  	    mba_inc = get_macroblock_address_increment (picture);
  	    if (!mba_inc)
+ 		continue;
+ 	    else if (mba_inc < 0)
  		break;
  


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list