History

lavf/nutdec: Fix an impossible condition, regression since e0c53c34.

Fixes ticket #6362.

Carl Eugen Hoyos committed 9 years ago

Commit 20da4131 parent 0a6ca7a1 file · +1 −1Browse files

Unified · Split

libavformat/nutdec.c+1−1
@@ -202,7 +202,7 @@ static int decode_main_header(NUTContext *nut) · 201 unmodified lines
202202 end += avio_tell(bc);
203203
204204 nut->version = ffio_read_varlen(bc);
205− if (nut->version < NUT_MIN_VERSION &&
205+ if (nut->version < NUT_MIN_VERSION ||
206206 nut->version > NUT_MAX_VERSION) {
207207 av_log(s, AV_LOG_ERROR, "Version %d not supported.\n",
208208 nut->version);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t