[FFmpeg-devel] [PATCH] matroskadec: remove H.264 special-case that disabled header parsing.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Feb 19 15:32:29 CET 2012


The parser was fixed so this workaround should no longer
be necessary.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
 libavformat/matroskadec.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 784e26b..636a407 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);
-- 
1.7.9



More information about the ffmpeg-devel mailing list