diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-03-25 13:16:48 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-03-26 20:03:56 +0200 |
commit | 699c61d2f0b9eb2d8e2da0ebd971b4432e33d140 (patch) | |
tree | cd73a47d27c57d37d7e6ae767e2d060d24fb0dd6 /libavformat/vocdec.c | |
parent | fca62f05005567514b5daaea230ba9365e202201 (diff) | |
download | ffmpeg-699c61d2f0b9eb2d8e2da0ebd971b4432e33d140.tar.gz |
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 <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat/vocdec.c')
0 files changed, 0 insertions, 0 deletions