10l
Originally committed as revision 7647 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4c6f7440af
commit
5e2a485507
@ -347,8 +347,9 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
||||
value_len = get_le16(pb);
|
||||
if ((value_type == 0) || (value_type == 1)) // unicode or byte
|
||||
{
|
||||
if (!strcmp(name,"WM/AlbumTitle")) get_str16_nolen(pb, value_len, s->album, sizeof(s->album));
|
||||
if (!strcmp(name,"WM/Genre" )) get_str16_nolen(pb, value_len, s->genre, sizeof(s->genre));
|
||||
if (!strcmp(name,"WM/AlbumTitle")) get_str16_nolen(pb, value_len, s->album, sizeof(s->album));
|
||||
else if(!strcmp(name,"WM/Genre" )) get_str16_nolen(pb, value_len, s->genre, sizeof(s->genre));
|
||||
else url_fskip(pb, value_len);
|
||||
}
|
||||
if ((value_type >= 2) && (value_type <= 5)) // boolean or DWORD or QWORD or WORD
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user