Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-09-30 15:35:14 +0400
committerMichael Niedermayer <michaelni@gmx.at>2006-09-30 15:35:14 +0400
commitfb3d155c316b3e62cc25d7ae82f1d9330c8e9d8f (patch)
treecbfb65e7d269458ad1008590ffb5325bab5593ca /libavcodec/rv10.c
parent113533a58215ee692406fbc983148f8cf8bb6263 (diff)
big endian fix
Originally committed as revision 6391 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c2
1 files changed, 1 insertions, 1 deletions
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: