aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/matroska.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-04-15 13:51:57 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-04-15 13:51:57 +0000
commit57004ff1d71d8a592cf8d3a268526c4e10ebe976 (patch)
tree9f8cabeb4f34375206dfdc8973a321e3b0e716f7 /libavformat/matroska.c
parentcefd4907e37112bc1f7ec5e0f0f2f7247ecf8150 (diff)
downloadffmpeg-57004ff1d71d8a592cf8d3a268526c4e10ebe976.tar.gz
add an enum for need_parsing
Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroska.c')
-rw-r--r--libavformat/matroska.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroska.c b/libavformat/matroska.c
index 0b03403de8..eaf4ceb953 100644
--- a/libavformat/matroska.c
+++ b/libavformat/matroska.c
@@ -2354,7 +2354,7 @@ matroska_read_header (AVFormatContext *s,
st->codec->height * videotrack->display_width,
st->codec-> width * videotrack->display_height,
255);
- st->need_parsing = 2;
+ st->need_parsing = AVSTREAM_PARSE_HEADERS;
} else if (track->type == MATROSKA_TRACK_TYPE_AUDIO) {
MatroskaAudioTrack *audiotrack = (MatroskaAudioTrack *)track;