music_opus.c: fix a typo. (found with -Wall in CFLAGS).
authorOzkan Sezer <sezeroz@gmail.com>
Mon, 08 Oct 2018 10:05:02 +0300
changeset 899f97f817b94bb
parent 897 6085d666c519
child 900 b56dbe75cac8
music_opus.c: fix a typo. (found with -Wall in CFLAGS).

also update changelog to mention opus support.
CHANGES.txt
music_opus.c
     1.1 --- a/CHANGES.txt	Sun Oct 07 14:02:40 2018 +0300
     1.2 +++ b/CHANGES.txt	Mon Oct 08 10:05:02 2018 +0300
     1.3 @@ -1,6 +1,8 @@
     1.4  2.0.3:
     1.5  Ozkan Sezer - Sun, 07 Oct 2018 08:50:02
     1.6   * Fixed mp3 mad decoder to skip tags, which otherwise would lead to crashes
     1.7 +Ozkan Sezer - Fri, 15 Jun 2018 05:32:56
     1.8 + * Added support for Opus music playback using opusfile library
     1.9  Sam Lantinga - Thu, Mar  1, 2018  9:06:58 AM
    1.10   * Fixed regression where Mix_Init() would return 0 for available music formats
    1.11  
     2.1 --- a/music_opus.c	Sun Oct 07 14:02:40 2018 +0300
     2.2 +++ b/music_opus.c	Mon Oct 08 10:05:02 2018 +0300
     2.3 @@ -140,7 +140,7 @@
     2.4      return (int)SDL_RWread((SDL_RWops*)datasource, ptr, 1, size);
     2.5  }
     2.6  
     2.7 -static int sdl_seek_func(void *datasource, ogg_int64_t offset, int whence)
     2.8 +static int sdl_seek_func(void *datasource, opus_int64  offset, int whence)
     2.9  {
    2.10      return (SDL_RWseek((SDL_RWops*)datasource, offset, whence) < 0)? -1 : 0;
    2.11  }