decoder/vorbis: revert "faster tag scanning with ov_test_callback()"
This patch made ov_time_total() unusable, and MPD did not know the duration of songs.
This commit is contained in:
@@ -383,7 +383,7 @@ vorbis_tag_dup(const char *file)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (ov_test_callbacks(fp, &vf, NULL, 0, OV_CALLBACKS_STREAMONLY) < 0) {
|
||||
if (ov_open(fp, &vf, NULL, 0) < 0) {
|
||||
fclose(fp);
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user