From fb3d155c316b3e62cc25d7ae82f1d9330c8e9d8f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 30 Sep 2006 11:35:14 +0000 Subject: [PATCH] big endian fix Originally committed as revision 6391 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rv10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 47445da354..0bafbd11d5 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -532,7 +532,7 @@ static int rv10_decode_init(AVCodecContext *avctx) s->width = avctx->width; s->height = avctx->height; - s->h263_long_vectors= !!(*(uint32_t*)avctx->extradata & 0x1000000); + s->h263_long_vectors= ((uint8_t*)avctx->extradata)[3] & 1; switch(avctx->sub_id){ case 0x10000000: