summaryrefslogtreecommitdiff
path: root/apps/metadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/metadata.c')
-rw-r--r--apps/metadata.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/metadata.c b/apps/metadata.c
index 5ed16e5847..49780b5860 100644
--- a/apps/metadata.c
+++ b/apps/metadata.c
@@ -1365,6 +1365,9 @@ bool get_metadata(struct track_info* track, int fd, const char* trackname,
1365 unsigned long totalsamples; 1365 unsigned long totalsamples;
1366 int i; 1366 int i;
1367 1367
1368 /* We should detect the codec type here. */
1369 track->id3.codectype = probe_file_format(trackname);
1370
1368 /* Load codec specific track tag information. */ 1371 /* Load codec specific track tag information. */
1369 1372
1370 switch (track->id3.codectype) 1373 switch (track->id3.codectype)