[MPlayer-cvslog] r25072 - trunk/stream/stream_dvd.c

reimar subversion at mplayerhq.hu
Sat Nov 17 19:40:47 CET 2007


Author: reimar
Date: Sat Nov 17 19:40:46 2007
New Revision: 25072

Log:
Another place that can use AV_WB32


Modified:
   trunk/stream/stream_dvd.c

Modified: trunk/stream/stream_dvd.c
==============================================================================
--- trunk/stream/stream_dvd.c	(original)
+++ trunk/stream/stream_dvd.c	Sat Nov 17 19:40:46 2007
@@ -95,10 +95,8 @@ static void dvd_set_speed(char *device, 
   cmd[0] = GPCMD_SET_STREAMING;
   cmd[10] = sizeof(buffer);
 
-  buffer[8] = 0xff;  /* first sector 0, last sector 0xffffffff */
-  buffer[9] = 0xff;
-  buffer[10] = 0xff;
-  buffer[11] = 0xff;
+  /* first sector 0, last sector 0xffffffff */
+  AV_WB32(buffer + 8, 0xffffffff);
 
   /* <speed> kilobyte */
   AV_WB32(buffer + 12, speed);



More information about the MPlayer-cvslog mailing list