Do not access word-sized elements on potentially unaligned memory addresses. RISC processors usually do not like that.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14490 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mosu 2005-01-13 21:04:34 +00:00
parent 8846359155
commit 60e7dabb30
1 changed files with 1 additions and 1 deletions

View File

@ -2900,7 +2900,7 @@ handle_block (demuxer_t *demuxer, uint8_t *block, uint64_t length,
num = ebml_read_vlen_uint (block, &tmp);
block += tmp;
/* time (relative to cluster time) */
time = be2me_16 (* (int16_t *) block);
time = block[0] << 8 | block[1];
block += 2;
length -= tmp + 2;
old_length = length;