summaryrefslogtreecommitdiff
path: root/libavcodec/svq3.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2004-03-14 04:04:08 +0000
committerMike Melanson <mike@multimedia.cx>2004-03-14 04:04:08 +0000
commit3a278992bdd8138eeefc9df06878703480f27b1b (patch)
tree6891b1a6c885f6c5dd68843695739c53c8741c9b /libavcodec/svq3.c
parent9eef2b77b29189606148e1fdf5d6c8d7b52b08b0 (diff)
remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG Originally committed as revision 2886 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r--libavcodec/svq3.c4
1 files changed, 1 insertions, 3 deletions
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)) {