From b55dd10d6295200b5742aa9d9d6e97a96f30484b Mon Sep 17 00:00:00 2001 From: Joseph Wecker Date: Thu, 10 Nov 2011 14:57:43 -0800 Subject: Fix typeo in some rarely used memoization Signed-off-by: Michael Niedermayer --- libavformat/flvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/flvdec.c') diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 954deeb583..469e9890ba 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -342,7 +342,7 @@ static int flv_read_metabody(AVFormatContext *s, int64_t next_pos) { stream = s->streams[i]; if(stream->codec->codec_type == AVMEDIA_TYPE_VIDEO) vstream = stream; else if(stream->codec->codec_type == AVMEDIA_TYPE_AUDIO) astream = stream; - else if(stream->codec->codec_type == AVMEDIA_TYPE_VIDEO) dstream = stream; + else if(stream->codec->codec_type == AVMEDIA_TYPE_DATA) dstream = stream; } //parse the second object (we want a mixed array) -- cgit v1.2.3