mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 11:49:48 +00:00
big endian fix
Originally committed as revision 6391 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
113533a582
commit
fb3d155c31
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user