mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
avcodec/dnxhddata: replace % by &
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
8f0434f85c
commit
2b14204339
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user