changeset 792:2680c3d05ca8 libavformat

typo
author michael
date Thu, 23 Jun 2005 00:12:36 +0000
parents f961db8ea65d
children 977417187c64
files asf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);