Mercurial > libavcodec.hg
changeset 3794:339f1741fbfa libavcodec
big endian fix
author | michael |
---|---|
date | Sat, 30 Sep 2006 11:35:14 +0000 |
parents | 25ebc28bc383 |
children | edd600ba1cc7 |
files | rv10.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rv10.c Sat Sep 30 11:31:15 2006 +0000 +++ b/rv10.c Sat Sep 30 11:35:14 2006 +0000 @@ -532,7 +532,7 @@ 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: