changeset 25044:38a6ae2c303d

Another place that can use AV_WB32
author reimar
date Sat, 17 Nov 2007 18:40:46 +0000
parents e1dbd43b753d
children f795ef502972
files stream/stream_dvd.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_dvd.c	Sat Nov 17 18:35:36 2007 +0000
+++ b/stream/stream_dvd.c	Sat Nov 17 18:40:46 2007 +0000
@@ -95,10 +95,8 @@
   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);