Skip to content

Commit

Permalink
music_mpg123.c: remove unnecessary file rewind after mp3_skiptags()
Browse files Browse the repository at this point in the history
mp3_skiptags() already does that for us.
  • Loading branch information
sezero committed Dec 10, 2019
1 parent 4113a76 commit 396cf41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/codecs/music_mpg123.c
Expand Up @@ -229,7 +229,6 @@ static void *MPG123_CreateFromRW(SDL_RWops *src, int freesrc)
Mix_SetError("music_mpg123: corrupt mp3 file (bad tags.)");
return NULL;
}
MP3_RWseek(&music->mp3file, 0, RW_SEEK_SET);

/* Just assume 16-bit 2 channel audio for now */
music->buffer_size = music_spec.samples * sizeof(Sint16) * 2;
Expand Down

0 comments on commit 396cf41

Please sign in to comment.