projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
194d4b4
)
matroskadec: disable h264 parser as long as it totally mess up frame type
author
Aurelien Jacobs
<aurel@gnuage.org>
Mon, 10 Aug 2009 18:12:02 +0000
(18:12 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Mon, 10 Aug 2009 18:12:02 +0000
(18:12 +0000)
Originally committed as revision 19622 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/matroskadec.c
patch
|
blob
|
history
diff --git
a/libavformat/matroskadec.c
b/libavformat/matroskadec.c
index
068fcc1
..
25d7341
100644
(file)
--- a/
libavformat/matroskadec.c
+++ b/
libavformat/matroskadec.c
@@
-1376,6
+1376,7
@@
static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap)
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;
} else if (track->type == MATROSKA_TRACK_TYPE_AUDIO) {
st->codec->codec_type = CODEC_TYPE_AUDIO;