[MPlayer-cvslog] r22298 - in trunk: Makefile command.c command.h m_property.c m_property.h mp_core.h mplayer.c

Clemens Ladisch cladisch at fastmail.net
Thu Feb 22 17:35:37 CET 2007


Reimar Döffinger wrote:
> On Wed, Feb 21, 2007 at 01:49:25AM +0100, uau wrote:
> > +static MPContext *mpctx = &(MPContext){
> > +    .osd_function = OSD_PLAY,
> > ...
> 
> Can someone enlighten me on the specifics of this constructs?
> Esp. if it is valid for the compiler to place this into .rodata or
> similar,

Compound literals can be read-only, like string literals.


HTH
Clemens



More information about the MPlayer-cvslog mailing list