libsdl-org / SDL_mixer

An audio mixer that supports various file formats for Simple Directmedia Layer.
zlib License
432 stars 147 forks source link

[SDL2] mp3util.c: Fixed unitialized "pos" at read_id3v2_from_mem() #549

Closed Wohlstand closed 1 year ago

Wohlstand commented 1 year ago

Via CLang, I accidentally found that .pos field of the mp3file_t structure was not being initialized at the read_id3v2_from_mem() call. So, I added that missing initialisation and fixed that problem.