diff options
author | Patrice Bensoussan <patrice.bensoussan@free.fr> | 2006-12-28 00:24:24 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2006-12-28 00:24:24 +0000 |
commit | 62ade082bbe679f266cbb56bc05d25044e32341d (patch) | |
tree | e74da27c5e06eb8b0b722ed062fef04d4c0b520e /libavformat | |
parent | 20c516c61656d9c80f747cfaee8410ded9600619 (diff) | |
download | ffmpeg-62ade082bbe679f266cbb56bc05d25044e32341d.tar.gz |
Decode genre on asf/wma files.
patch by patrice.bensoussan _at_ free.fr
Originally committed as revision 7379 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/asf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c index e6a38c953a..0ec73314ef 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -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 |