ref: 6914142df69bd52979443e1cfeae205bcace8243
parent: 63010290b20efc4ecbafc98ff34a937bdb40524b
author: Mans Rullgard <mans@mansr.com>
date: Mon May 22 13:55:37 EDT 2017
aiff: handle id3 tags
--- a/src/aiff.c
+++ b/src/aiff.c
@@ -16,6 +16,7 @@
#include "sox_i.h"
#include "aiff.h"
+#include "id3.h"
#include <time.h> /* for time stamping comments */
#include <stdlib.h>
@@ -305,6 +306,13 @@
return(SOX_EOF);
}
free(copyright);
+ }
+ else if (strncmp(buf, "ID3 ", 4) == 0) {
+ off_t offs;
+ lsx_readdw(ft, &chunksize);
+ offs = lsx_tell(ft);
+ lsx_id3_read_tag(ft, 0);
+ lsx_seeki(ft, offs + chunksize, SEEK_SET);
}
else {
if (lsx_eof(ft))