smpeg
smpeg copied to clipboard
Loki Software's MPEG decoding library.
Mostly based off the buildsystem in SDL_sound and PhysicsFS.
The Readme should be in Markdown format and otherwise modernized.
I noticed smpeg(2) hasn't got a release in a while and distros are starting to amass various patches, hopefully all of them upstreamed, but usually this is a pretty bad...
There is a small problem with the constructor of MPEGaudio at MPEGaudio:: MPEGaudio(MPEGstream *stream, bool initSDL). In SDL2.0 environment, this line: audio_ active = (SDL_OpenAudio(&wanted, &actual) == 0); Always return...
``` audio/mpeglayer3.cpp: In function 'void layer3reorder_1(int, int, REAL (*)[18], REAL (*)[18])': audio/mpeglayer3.cpp:1287:33: warning: iteration 9 invokes undefined behavior [-Waggressive-loop-optimizations] 1287 | (sfb_lines=sfBandIndex->s[sfb+1]-sfb_start)) | ~~~~~~~~~~~~~~~~~~~~^ audio/mpeglayer3.cpp:1285:10: note: within this loop 1285...