comparison asf.c @ 792:2680c3d05ca8 libavformat

typo
author michael
date Thu, 23 Jun 2005 00:12:36 +0000
parents c5077fdab490
children feca73904e67
comparison
equal deleted inserted replaced
791:f961db8ea65d 792:2680c3d05ca8
333 value = (char *)av_mallocz(value_len); 333 value = (char *)av_mallocz(value_len);
334 get_str16_nolen(pb, value_len, value, value_len); 334 get_str16_nolen(pb, value_len, value, value_len);
335 if (strcmp(name,"WM/AlbumTitle")==0) { pstrcpy(s->album, sizeof(s->album), value); } 335 if (strcmp(name,"WM/AlbumTitle")==0) { pstrcpy(s->album, sizeof(s->album), value); }
336 av_free(value); 336 av_free(value);
337 } 337 }
338 if ((value_type >= 2) || (value_type <= 5)) // boolean or DWORD or QWORD or WORD 338 if ((value_type >= 2) && (value_type <= 5)) // boolean or DWORD or QWORD or WORD
339 { 339 {
340 if (value_type==2) value_num = get_le32(pb); 340 if (value_type==2) value_num = get_le32(pb);
341 if (value_type==3) value_num = get_le32(pb); 341 if (value_type==3) value_num = get_le32(pb);
342 if (value_type==4) value_num = get_le64(pb); 342 if (value_type==4) value_num = get_le64(pb);
343 if (value_type==5) value_num = get_le16(pb); 343 if (value_type==5) value_num = get_le16(pb);