lavf/nutdec: Fix an impossible condition, regression since e0c53c34.
Fixes ticket #6362.
This commit is contained in:
parent
0a6ca7aa0a
commit
20da413502
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ static int decode_main_header(NUTContext *nut)
|
|||
end += avio_tell(bc);
|
||||
|
||||
nut->version = ffio_read_varlen(bc);
|
||||
if (nut->version < NUT_MIN_VERSION &&
|
||||
if (nut->version < NUT_MIN_VERSION ||
|
||||
nut->version > NUT_MAX_VERSION) {
|
||||
av_log(s, AV_LOG_ERROR, "Version %d not supported.\n",
|
||||
nut->version);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue