Mercurial > mplayer.hg
view loader/module.h @ 7296:f4710b873abd
SPARC gcc generates bad code accessing an unaligned and packed structure member
(See gcc problem report PR c/7847); mplayer crashes with SIGBUS signal.
Added a workaround: copy the unaligned stucture member to a temporary local
variable using memcpy, and use that in the code.
author | jkeil |
---|---|
date | Fri, 06 Sep 2002 13:31:33 +0000 |
parents | 4b0dd1ff6a20 |
children |
line wrap: on
line source
#ifndef LOADER_MODULE_H #define LOADER_MODULE_H void CodecRelease(void); void CodecAlloc(void); #endif // LOADER_MODULE_H