Mercurial > mplayer.hg
changeset 26375:4319a0b14666
Simplify: use AV_RB24
author | reimar |
---|---|
date | Sat, 12 Apr 2008 15:14:02 +0000 |
parents | 268f87e940ab |
children | 68302d38e153 |
files | libmpdemux/demux_audio.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_audio.c Sat Apr 12 15:11:03 2008 +0000 +++ b/libmpdemux/demux_audio.c Sat Apr 12 15:14:02 2008 +0000 @@ -164,7 +164,7 @@ if (r != FLAC_SIGNATURE_SIZE) return; - blk_len = (preamble[1] << 16) | (preamble[2] << 8) | (preamble[3] << 0); + blk_len = AV_RB24(preamble + 1); switch (preamble[0] & 0x7F) {