music_mpg123.c: remove unnecessary file rewind after mp3_skiptags()
authorOzkan Sezer
Wed, 11 Dec 2019 01:22:50 +0300
changeset 10738450c02199e4
parent 1072 503ad6c93c50
child 1074 c7c4d55152af
music_mpg123.c: remove unnecessary file rewind after mp3_skiptags()

mp3_skiptags() already does that for us.
src/codecs/music_mpg123.c
     1.1 --- a/src/codecs/music_mpg123.c	Wed Dec 11 01:15:02 2019 +0300
     1.2 +++ b/src/codecs/music_mpg123.c	Wed Dec 11 01:22:50 2019 +0300
     1.3 @@ -229,7 +229,6 @@
     1.4          Mix_SetError("music_mpg123: corrupt mp3 file (bad tags.)");
     1.5          return NULL;
     1.6      }
     1.7 -    MP3_RWseek(&music->mp3file, 0, RW_SEEK_SET);
     1.8  
     1.9      /* Just assume 16-bit 2 channel audio for now */
    1.10      music->buffer_size = music_spec.samples * sizeof(Sint16) * 2;