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>
This commit is contained in:
parent
278d6ab900
commit
016c7bb762
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user