Skip to content

Commit b9cdc74

Browse files
committed
Vorbis: Add details to warning about invalid comment header
1 parent 8b4b93a commit b9cdc74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/vorbis/audio_stream_ogg_vorbis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ void AudioStreamOggVorbis::maybe_update_info() {
462462
int equals = c.find_char('=');
463463

464464
if (equals == -1) {
465-
WARN_PRINT("Invalid comment in Ogg Vorbis file.");
465+
WARN_PRINT(vformat(R"(Invalid comment in Ogg Vorbis file "%s", should contain '=': "%s".)", get_path(), c));
466466
continue;
467467
}
468468

0 commit comments

Comments
 (0)