[opus] int operation

Mike Hooper mihooper at bellsouth.net
Wed Aug 22 14:52:36 PDT 2012


Gents,

 

My TI C55xx complier is complaining about (in opus_encoder.c,
opus_encode()):

        st->silk_mode.payloadSize_ms = 1000 * frame_size / st->Fs;

where .payloadSize_ms is opus_int, frame_size is an int, and Fs is a long.
Should one of these be cast differently?

 

Thx,

MikeH

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/opus/attachments/20120822/05995302/attachment.htm 


More information about the opus mailing list