Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle 0-size sync packets when only parsing headers.
Currently, the duration of those packets is just discarded when enabling parsing, thus the output of the Metal Gear Solid demuxer breaks completely when just setting AVSTREAM_PARSE_HEADERS. The result will not be correct if a parser creates a delay even with PARSER_FLAG_COMPLETE_FRAMES and there might be other cases where it does not work correct, but just discarding them as it is done currently seems worse. Signed-off-by: Reimar Döffinger <[email protected]>
- Loading branch information