diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-02-19 15:30:34 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-02-20 20:42:55 +0100 |
commit | 016c7bb762edded8d64f986e40b6f4cd739dd597 (patch) | |
tree | d120ad027b63607818fac829fe662cf7117678f6 | |
parent | 278d6ab90041cb52fb76a84dcff062db8c2398e2 (diff) | |
download | ffmpeg-016c7bb762edded8d64f986e40b6f4cd739dd597.tar.gz |
matroskadec: remove H.264 special-case that disabled header parsing.
The parser was fixed so this workaround should no longer
be necessary.
This allows using stream-copy to fix files with keyframes
incorrectly marked.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-rw-r--r-- | libavformat/matroskadec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 784e26b037..636a407f07 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1638,7 +1638,6 @@ static int matroska_read_header(AVFormatContext *s) st->codec->height * track->video.display_width, st->codec-> width * track->video.display_height, 255); - if (st->codec->codec_id != CODEC_ID_H264) st->need_parsing = AVSTREAM_PARSE_HEADERS; if (track->default_duration) st->avg_frame_rate = av_d2q(1000000000.0/track->default_duration, INT_MAX); |