$NetBSD: patch-ab,v 1.2 2005/11/11 17:48:25 joerg Exp $

--- libac3/bitstream.c.orig	2000-03-30 00:51:24.000000000 +0000
+++ libac3/bitstream.c
@@ -23,6 +23,7 @@
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
 
 #include "ac3.h"
 #include "ac3_internal.h"
@@ -90,7 +91,8 @@ bitstream_buffer_frame(uint_32 frame_siz
 static inline void
 bitstream_fill_current()
 {
-	current_word = *((uint_32*)buffer_start)++;
+	current_word = *(uint_32*)buffer_start;
+	buffer_start += sizeof(uint_32);
 	current_word = swab32(current_word);
 }
 
