Simplify: use AV_RB24

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26407 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2008-04-12 15:14:02 +00:00
parent 84121288c1
commit 4d4cb3a3f2
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ get_flac_metadata (demuxer_t* demuxer)
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)
{