Commit 3c1c7a2a authored by michael's avatar michael

maybe fixing the segfault on ARM


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6081 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 642f1b99
...@@ -1743,8 +1743,8 @@ static int huffman_decode(MPADecodeContext *s, GranuleDef *g, ...@@ -1743,8 +1743,8 @@ static int huffman_decode(MPADecodeContext *s, GranuleDef *g,
/* some encoders generate an incorrect size for this /* some encoders generate an incorrect size for this
part. We must go back into the data */ part. We must go back into the data */
s_index -= 4; s_index -= 4;
init_get_bits(&s->gb, s->gb.buffer + (last_pos>>3), s->gb.size_in_bits - (last_pos&(~7))); init_get_bits(&s->gb, s->gb.buffer + 4*(last_pos>>5), s->gb.size_in_bits - (last_pos&(~31)));
skip_bits(&s->gb, last_pos&7); skip_bits(&s->gb, last_pos&31);
} }
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment