[Ffmpeg-cvslog] r7379 - trunk/libavformat/asf.c

aurel subversion
Thu Dec 28 01:24:24 CET 2006


Author: aurel
Date: Thu Dec 28 01:24:24 2006
New Revision: 7379

Modified:
   trunk/libavformat/asf.c

Log:
Decode genre on asf/wma files.
patch by  patrice.bensoussan _at_ free.fr


Modified: trunk/libavformat/asf.c
==============================================================================
--- trunk/libavformat/asf.c	(original)
+++ trunk/libavformat/asf.c	Thu Dec 28 01:24:24 2006
@@ -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




More information about the ffmpeg-cvslog mailing list