mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/mlpdec: fix integer sanitizer warning under clang
Fixes: libavcodec/mlpdec.c:1108:37: runtime error: negation of 1 cannot be represented in type 'unsigned int'
This commit is contained in:
parent
5fe648d04a
commit
5d92b73c64
|
@ -922,7 +922,7 @@ fail:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define MSB_MASK(bits) (-1u << (bits))
|
#define MSB_MASK(bits) (-(1 << (bits)))
|
||||||
|
|
||||||
/** Generate PCM samples using the prediction filters and residual values
|
/** Generate PCM samples using the prediction filters and residual values
|
||||||
* read from the data stream, and update the filter state. */
|
* read from the data stream, and update the filter state. */
|
||||||
|
|
Loading…
Reference in New Issue