diff asf.c @ 792:2680c3d05ca8 libavformat

typo
author michael
date Thu, 23 Jun 2005 00:12:36 +0000
parents c5077fdab490
children feca73904e67
line wrap: on
line diff
--- a/asf.c	Sun Jun 19 23:45:54 2005 +0000
+++ b/asf.c	Thu Jun 23 00:12:36 2005 +0000
@@ -335,7 +335,7 @@
                                 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);