mirror of https://github.com/FFmpeg/FFmpeg.git
The checked entity should be alone on one side of the check, this avoids
complex considerations of overflows.
This fixes a issue of bad style in our code and a coverity issue.
Fixes: CID1439654 Untrusted pointer read
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 385784a148
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
release/6.1
parent
b4d190ca32
commit
29852104f5
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue