decoder/{mp4ff,ffmpeg}: add extension ".m4b" (audio book)
Same as ".m4a".
This commit is contained in:
		
							
								
								
									
										3
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								NEWS
									
									
									
									
									
								
							| @@ -1,5 +1,8 @@ | |||||||
| ver 0.15.14 (2010/??/??) | ver 0.15.14 (2010/??/??) | ||||||
| * output_thread: fix assertion failure due to race condition in OPEN | * output_thread: fix assertion failure due to race condition in OPEN | ||||||
|  | * decoders: | ||||||
|  |   - mp4ff, ffmpeg: add extension ".m4b" (audio book) | ||||||
|  |  | ||||||
|  |  | ||||||
| ver 0.15.13 (2010/10/10) | ver 0.15.13 (2010/10/10) | ||||||
| * output_thread: fix race condition after CANCEL command | * output_thread: fix race condition after CANCEL command | ||||||
|   | |||||||
| @@ -501,7 +501,9 @@ static const char *const ffmpeg_suffixes[] = { | |||||||
| 	"atrac", "au", "aud", "avi", "avm2", "avs", "bap", "bfi", "c93", "cak", | 	"atrac", "au", "aud", "avi", "avm2", "avs", "bap", "bfi", "c93", "cak", | ||||||
| 	"cin", "cmv", "cpk", "daud", "dct", "divx", "dts", "dv", "dvd", "dxa", | 	"cin", "cmv", "cpk", "daud", "dct", "divx", "dts", "dv", "dvd", "dxa", | ||||||
| 	"eac3", "film", "flac", "flc", "fli", "fll", "flx", "flv", "g726", | 	"eac3", "film", "flac", "flc", "fli", "fll", "flx", "flv", "g726", | ||||||
| 	"gsm", "gxf", "iss", "m1v", "m2v", "m2t", "m2ts", "m4a", "m4v", "mad", | 	"gsm", "gxf", "iss", "m1v", "m2v", "m2t", "m2ts", | ||||||
|  | 	"m4a", "m4b", "m4v", | ||||||
|  | 	"mad", | ||||||
| 	"mj2", "mjpeg", "mjpg", "mka", "mkv", "mlp", "mm", "mmf", "mov", "mp+", | 	"mj2", "mjpeg", "mjpg", "mka", "mkv", "mlp", "mm", "mmf", "mov", "mp+", | ||||||
| 	"mp1", "mp2", "mp3", "mp4", "mpc", "mpeg", "mpg", "mpga", "mpp", "mpu", | 	"mp1", "mp2", "mp3", "mp4", "mpc", "mpeg", "mpg", "mpga", "mpp", "mpu", | ||||||
| 	"mve", "mvi", "mxf", "nc", "nsv", "nut", "nuv", "oga", "ogm", "ogv", | 	"mve", "mvi", "mxf", "nc", "nsv", "nut", "nuv", "oga", "ogm", "ogv", | ||||||
|   | |||||||
| @@ -425,7 +425,13 @@ mp4_tag_dup(const char *file) | |||||||
| 	return ret; | 	return ret; | ||||||
| } | } | ||||||
|  |  | ||||||
| static const char *const mp4_suffixes[] = { "m4a", "mp4", NULL }; | static const char *const mp4_suffixes[] = { | ||||||
|  | 	"m4a", | ||||||
|  | 	"m4b", | ||||||
|  | 	"mp4", | ||||||
|  | 	NULL | ||||||
|  | }; | ||||||
|  |  | ||||||
| static const char *const mp4_mime_types[] = { "audio/mp4", "audio/m4a", NULL }; | static const char *const mp4_mime_types[] = { "audio/mp4", "audio/m4a", NULL }; | ||||||
|  |  | ||||||
| const struct decoder_plugin mp4ff_decoder_plugin = { | const struct decoder_plugin mp4ff_decoder_plugin = { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann