decoder/{audio,snd}file: handle MIME type "audio/wav"
This commit is contained in:
		
							
								
								
									
										2
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								NEWS
									
									
									
									
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| ver 0.21.20 (not yet released) | ver 0.21.20 (not yet released) | ||||||
| * decoder | * decoder | ||||||
|   - ffmpeg: handle MIME type "audio/wav" |   - audiofile, ffmpeg, sndfile: handle MIME type "audio/wav" | ||||||
|   - vorbis, opus: fix seeking in small files |   - vorbis, opus: fix seeking in small files | ||||||
|  |  | ||||||
| ver 0.21.19 (2020/01/17) | ver 0.21.19 (2020/01/17) | ||||||
|   | |||||||
| @@ -269,6 +269,8 @@ static const char *const audiofile_suffixes[] = { | |||||||
| }; | }; | ||||||
|  |  | ||||||
| static const char *const audiofile_mime_types[] = { | static const char *const audiofile_mime_types[] = { | ||||||
|  | 	"audio/wav", | ||||||
|  | 	"audio/aiff", | ||||||
| 	"audio/x-wav", | 	"audio/x-wav", | ||||||
| 	"audio/x-aiff", | 	"audio/x-aiff", | ||||||
| 	nullptr | 	nullptr | ||||||
|   | |||||||
| @@ -322,6 +322,8 @@ static const char *const sndfile_suffixes[] = { | |||||||
| }; | }; | ||||||
|  |  | ||||||
| static const char *const sndfile_mime_types[] = { | static const char *const sndfile_mime_types[] = { | ||||||
|  | 	"audio/wav", | ||||||
|  | 	"audio/aiff", | ||||||
| 	"audio/x-wav", | 	"audio/x-wav", | ||||||
| 	"audio/x-aiff", | 	"audio/x-aiff", | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann