openbsd-ports/x11/mplayer/patches/patch-libavcodec_bitstream_h
robert 59001cbfbf update to versio 1.0pre8; include the speex and mpcdec codecs by default;
this version of mplayer now uses gtk2;

ok biorn@ and tested by many
2006-07-19 21:40:47 +00:00

13 lines
429 B
Plaintext

$OpenBSD: patch-libavcodec_bitstream_h,v 1.2 2006/07/19 21:40:47 robert Exp $
--- libavcodec/bitstream.h.orig Sun Jun 11 20:35:48 2006
+++ libavcodec/bitstream.h Thu Jul 6 00:08:11 2006
@@ -374,7 +374,7 @@ for examples see get_bits, show_bits, sk
static inline int unaligned32_be(const void *v)
{
-#ifdef CONFIG_ALIGN
+#if 1
const uint8_t *p=v;
return (((p[0]<<8) | p[1])<<16) | (p[2]<<8) | (p[3]);
#else