Commit c9167d40 authored by aurel's avatar aurel

Decode genre on asf/wma files.

patch by  patrice.bensoussan _at_ free.fr


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7379 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 91604c7c
......@@ -371,6 +371,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
get_str16_nolen(pb, value_len, value,
value_len * 2);
if (strcmp(name,"WM/AlbumTitle")==0) { pstrcpy(s->album, sizeof(s->album), value); }
if (strcmp(name,"WM/Genre")==0) { pstrcpy(s->genre, sizeof(s->genre), value); }
av_free(value);
}
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