You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	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
This commit is contained in:
		
				
					committed by
					
						 Aurelien Jacobs
						Aurelien Jacobs
					
				
			
			
				
	
			
			
			
						parent
						
							20c516c616
						
					
				
				
					commit
					62ade082bb
				
			| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user