Skip to content

Commit

Permalink
fixed #2364
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Jan 4, 2023
1 parent af6a5e7 commit 3a2458a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bifs/unquantize.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* GPAC - Multimedia Framework C SDK
*
* Authors: Jean Le Feuvre
* Copyright (c) Telecom ParisTech 2000-2012
* Copyright (c) Telecom ParisTech 2000-2023
* All rights reserved
*
* This file is part of GPAC / BIFS codec sub-project
Expand Down Expand Up @@ -284,7 +284,7 @@ GF_Err Q_DecCoordOnUnitSphere(GF_BifsDecoder *codec, GF_BitStream *bs, u32 NbBit
s32 value;
Fixed tang[4], delta;
s32 dir;

if (NbBits>32) return GF_NON_COMPLIANT_BITSTREAM;
if (NbComp != 2 && NbComp != 3) return GF_BAD_PARAM;

//only 2 or 3 comp in the quantized version
Expand Down

0 comments on commit 3a2458a

Please sign in to comment.