mirror of https://github.com/FFmpeg/FFmpeg.git
The mlv demuxer supports input split into multiple files; if invalid data is encountered when parsing one of the subsequent files, that file is closed. But at this point some index entries belonging to this file might already have been added. In this case, the read_packet function might try to use the AVIOContext (which is NULL) to read data which will of course crash. This commit fixes this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/346/head
parent
97d8029149
commit
6e0dd41fa3
1 changed files with 7 additions and 1 deletions
Loading…
Reference in new issue