music_ogg.c: cleanup some OGG_USE_TREMOR ifdef ugliness
authorOzkan Sezer
Tue, 17 Dec 2019 21:56:56 +0300
changeset 1092e7e3052b74ae
parent 1091 8a09f3c0c340
child 1093 6f0bea2ab267
music_ogg.c: cleanup some OGG_USE_TREMOR ifdef ugliness
src/codecs/music_ogg.c
     1.1 --- a/src/codecs/music_ogg.c	Tue Dec 17 21:56:50 2019 +0300
     1.2 +++ b/src/codecs/music_ogg.c	Tue Dec 17 21:56:56 2019 +0300
     1.3 @@ -47,17 +47,11 @@
     1.4      ogg_int64_t (*ov_pcm_total)(OggVorbis_File *vf,int i);
     1.5  #ifdef OGG_USE_TREMOR
     1.6      long (*ov_read)(OggVorbis_File *vf,char *buffer,int length, int *bitstream);
     1.7 +    int (*ov_time_seek)(OggVorbis_File *vf,ogg_int64_t pos);
     1.8 +    ogg_int64_t (*ov_time_total)(OggVorbis_File *vf, int i);
     1.9  #else
    1.10      long (*ov_read)(OggVorbis_File *vf,char *buffer,int length, int bigendianp,int word,int sgned,int *bitstream);
    1.11 -#endif
    1.12 -#ifdef OGG_USE_TREMOR
    1.13 -    int (*ov_time_seek)(OggVorbis_File *vf,ogg_int64_t pos);
    1.14 -#else
    1.15      int (*ov_time_seek)(OggVorbis_File *vf,double pos);
    1.16 -#endif
    1.17 -#ifdef OGG_USE_TREMOR
    1.18 -    ogg_int64_t (*ov_time_total)(OggVorbis_File *vf, int i);
    1.19 -#else
    1.20      double (*ov_time_total)(OggVorbis_File *vf, int i);
    1.21  #endif
    1.22      int (*ov_pcm_seek)(OggVorbis_File *vf, ogg_int64_t pos);