Mercurial > libavformat.hg
changeset 1603:26a7d15e4c9d libavformat
Decode genre on asf/wma files.
patch by patrice.bensoussan _at_ free.fr
author | aurel |
---|---|
date | Thu, 28 Dec 2006 00:24:24 +0000 |
parents | 6238b40b7aef |
children | ec546897df3d |
files | asf.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/asf.c Sun Dec 24 04:51:43 2006 +0000 +++ b/asf.c Thu Dec 28 00:24:24 2006 +0000 @@ -371,6 +371,7 @@ 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