typo
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 23 Jun 2005 00:12:36 +0000 (00:12 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 23 Jun 2005 00:12:36 +0000 (00:12 +0000)
Originally committed as revision 4387 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/asf.c

index 045766d..c52b1da 100644 (file)
@@ -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);