[MPlayer-cvslog] r33076 - in trunk: etc/codecs.conf libmpcodecs/ad_pcm.c

Nicolas George nicolas.george at normalesup.org
Sat Mar 12 12:07:36 CET 2011


Le duodi 22 ventôse, an CCXIX, Reimar Döffinger a écrit :
> > +    case 0x32334C46: // 'FL32', bigendian float32 in aiff
> We should probably introduce a STR2TAG macro
> and use STR2TAG("fl32")

If you mean something like that:

#define STR2TAG(s) (s[0] + (s[1] << 8) + (s[2] << 16) + (s[3] << 24))

it has the disadvantage of not being considered a build-time constant, and
thus not suited to be used as a case value.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cvslog/attachments/20110312/0cc9c9d5/attachment.pgp>


More information about the MPlayer-cvslog mailing list