Skip to content

Commit

Permalink
Attempt to fix MSVC build
Browse files Browse the repository at this point in the history
  • Loading branch information
Wohlstand committed Aug 17, 2024
1 parent a0084e1 commit 1696249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/music.c
Original file line number Diff line number Diff line change
Expand Up @@ -1412,8 +1412,8 @@ static int detect_mp3(Uint8 *magic, SDL_RWops *src, Sint64 start, Sint64 offset)
{
const Uint32 null = 0;
Uint8 mp3_magic[4];
Uint8 mp3_read_buffer[2048];
const size_t mp3_read_buffer_size = 2048;
Uint8 mp3_read_buffer[mp3_read_buffer_size];
size_t i = 0, got;
SDL_bool found;
Sint64 end_file_pos = 0;
Expand Down

0 comments on commit 1696249

Please sign in to comment.