Navigation Menu

Skip to content

Commit

Permalink
fixed #2213
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Jul 12, 2022
1 parent dc7de8d commit faa75ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/laser/lsr_dec.c
Expand Up @@ -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);
Expand Down

0 comments on commit faa75ed

Please sign in to comment.