You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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:
@@ -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. */
|
||||||
|
Reference in New Issue
Block a user