Commit a99202a8 authored by Max Kellermann's avatar Max Kellermann

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.
parent e8569af3
ver 0.15.4 (2009/??/??)
* decoders:
- vorbis: revert "faster tag scanning with ov_test_callback()"
ver 0.15.3 (2009/08/29)
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment