From 724dc20cf9b71892604d6cbb5e9cb8c38a98575f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 23 Jun 2005 00:12:36 +0000 Subject: [PATCH] typo Originally committed as revision 4387 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/asf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/asf.c b/libavformat/asf.c index 045766dbff..c52b1da7dc 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -335,7 +335,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) if (strcmp(name,"WM/AlbumTitle")==0) { pstrcpy(s->album, sizeof(s->album), value); } av_free(value); } - if ((value_type >= 2) || (value_type <= 5)) // boolean or DWORD or QWORD or WORD + if ((value_type >= 2) && (value_type <= 5)) // boolean or DWORD or QWORD or WORD { if (value_type==2) value_num = get_le32(pb); if (value_type==3) value_num = get_le32(pb);