From 3a278992bdd8138eeefc9df06878703480f27b1b Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Sun, 14 Mar 2004 04:04:08 +0000 Subject: remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG -> MKTAG/MKBETAG Originally committed as revision 2886 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/svq3.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libavcodec/svq3.c') diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 1e73a3ff12..34ae368881 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -799,9 +799,7 @@ static int svq3_decode_frame (AVCodecContext *avctx, break; extradata++; } - - size = (extradata[4] << 24) | (extradata[5] << 16) | - (extradata[6] << 8) | extradata[7]; + size = BE_32(&extradata[4]); /* if a match was found, parse the extra data */ if (!memcmp (extradata, "SEQH", 4)) { -- cgit v1.2.3