summaryrefslogtreecommitdiff
path: root/libavformat/flvdec.c
diff options
context:
space:
mode:
authorJoseph Wecker <jwecker@justin.tv>2011-11-10 14:57:43 -0800
committerMichael Niedermayer <michaelni@gmx.at>2011-11-30 05:28:08 +0100
commitb55dd10d6295200b5742aa9d9d6e97a96f30484b (patch)
treee206519745a9d82884477b599a37e05962d6366c /libavformat/flvdec.c
parentd31c68a7ed978e48ca92d2de10c49cfbf6bd6347 (diff)
Fix typeo in some rarely used memoization
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r--libavformat/flvdec.c2
1 files changed, 1 insertions, 1 deletions
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)