[MPlayer-cvslog] r26407 - trunk/libmpdemux/demux_audio.c
reimar
subversion at mplayerhq.hu
Sat Apr 12 17:14:02 CEST 2008
Author: reimar
Date: Sat Apr 12 17:14:02 2008
New Revision: 26407
Log:
Simplify: use AV_RB24
Modified:
trunk/libmpdemux/demux_audio.c
Modified: trunk/libmpdemux/demux_audio.c
==============================================================================
--- trunk/libmpdemux/demux_audio.c (original)
+++ trunk/libmpdemux/demux_audio.c Sat Apr 12 17:14:02 2008
@@ -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)
{
More information about the MPlayer-cvslog
mailing list