Skip to content
Permalink
Browse files
fixed #2213
  • Loading branch information
jeanlf committed Jul 12, 2022
1 parent dc7de8d commit faa75edde3dfeba1e2cf6ffa48e45a50f1042096
Showing 1 changed file with 2 additions and 0 deletions.
@@ -838,6 +838,8 @@ static void lsr_read_id(GF_LASeRCodec *lsr, GF_Node *n)

static Fixed lsr_translate_coords(GF_LASeRCodec *lsr, u32 val, u32 nb_bits)
{
if (!nb_bits) return 0;

#ifdef GPAC_FIXED_POINT
if (val >> (nb_bits-1) ) {
s32 neg = (s32) val - (1<<nb_bits);

0 comments on commit faa75ed

Please sign in to comment.