Unified · Split
| @@ -307,7 +307,7 @@ static int mov_read_default(MOVContext *c, AVIOContext *pb, MOVAtom atom) · 306 unmodified lines | ||
| 307 | 307 | |
| 308 | 308 | if (atom.size < 0) |
| 309 | 309 | atom.size = INT64_MAX; |
| 310 | − while (total_size + 8 < atom.size && !url_feof(pb)) { | |
| 310 | + while (total_size + 8 <= atom.size && !url_feof(pb)) { | |
| 311 | 311 | int (*parse)(MOVContext*, AVIOContext*, MOVAtom) = NULL; |
| 312 | 312 | a.size = atom.size; |
| 313 | 313 | a.type=0; |