Unified · Split
| @@ -307,7 +307,7 @@ static int mov_read_default(MOVContext *c, AVIOContext *pb, MOVAtom atom) · 306 unmodified lines | |||
| 307 | 307 | ||
| 308 | if (atom.size < 0) | 308 | if (atom.size < 0) |
| 309 | atom.size = INT64_MAX; | 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 | int (*parse)(MOVContext*, AVIOContext*, MOVAtom) = NULL; | 311 | int (*parse)(MOVContext*, AVIOContext*, MOVAtom) = NULL; |
| 312 | a.size = atom.size; | 312 | a.size = atom.size; |
| 313 | a.type=0; | 313 | a.type=0; |