diff options
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r-- | libavcodec/svq3.c | 4 |
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)) { |