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:
parent
e8569af35f
commit
a99202a8a4
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue