Mercurial > libavcodec.hg
comparison rv10.c @ 3794:339f1741fbfa libavcodec
big endian fix
author | michael |
---|---|
date | Sat, 30 Sep 2006 11:35:14 +0000 |
parents | 25ebc28bc383 |
children | edd600ba1cc7 |
comparison
equal
deleted
inserted
replaced
3793:25ebc28bc383 | 3794:339f1741fbfa |
---|---|
530 s->codec_id= avctx->codec_id; | 530 s->codec_id= avctx->codec_id; |
531 | 531 |
532 s->width = avctx->width; | 532 s->width = avctx->width; |
533 s->height = avctx->height; | 533 s->height = avctx->height; |
534 | 534 |
535 s->h263_long_vectors= !!(*(uint32_t*)avctx->extradata & 0x1000000); | 535 s->h263_long_vectors= ((uint8_t*)avctx->extradata)[3] & 1; |
536 | 536 |
537 switch(avctx->sub_id){ | 537 switch(avctx->sub_id){ |
538 case 0x10000000: | 538 case 0x10000000: |
539 s->rv10_version= 0; | 539 s->rv10_version= 0; |
540 s->low_delay=1; | 540 s->low_delay=1; |