Commit 42bcec7b authored by michael's avatar michael

10l


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7647 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8c7f0cac
...@@ -347,8 +347,9 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -347,8 +347,9 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
value_len = get_le16(pb); value_len = get_le16(pb);
if ((value_type == 0) || (value_type == 1)) // unicode or byte 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/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)); 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 if ((value_type >= 2) && (value_type <= 5)) // boolean or DWORD or QWORD or WORD
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment