diff options
Diffstat (limited to 'apps/metadata.c')
-rw-r--r-- | apps/metadata.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/metadata.c b/apps/metadata.c index 7479de105f..898436781b 100644 --- a/apps/metadata.c +++ b/apps/metadata.c | |||
@@ -438,6 +438,10 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname) | |||
438 | /* Take our best guess at the codec type based on file extension */ | 438 | /* Take our best guess at the codec type based on file extension */ |
439 | id3->codectype = probe_file_format(trackname); | 439 | id3->codectype = probe_file_format(trackname); |
440 | 440 | ||
441 | /* default values for embedded cuesheets */ | ||
442 | id3->embed_cuesheet.present = false; | ||
443 | id3->embed_cuesheet.pos = 0; | ||
444 | |||
441 | entry = &audio_formats[id3->codectype]; | 445 | entry = &audio_formats[id3->codectype]; |
442 | 446 | ||
443 | /* Load codec specific track tag information and confirm the codec type. */ | 447 | /* Load codec specific track tag information and confirm the codec type. */ |