Commit 2b142043 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dnxhddata: replace % by &

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 8f0434f8
......@@ -68,7 +68,7 @@ static av_always_inline uint64_t ff_dnxhd_check_header_prefix_hr(uint64_t prefix
uint64_t data_offset = prefix >> 16;
if ((prefix & 0xFFFF0000FFFFLL) == 0x0300 &&
data_offset >= 0x0280 && data_offset <= 0x2170 &&
data_offset % 4 == 0)
(data_offset & 3) == 0)
return prefix;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment