diff --git a/libavcodec/osq.c b/libavcodec/osq.c index f88b639fe0..2845c59118 100644 --- a/libavcodec/osq.c +++ b/libavcodec/osq.c @@ -391,7 +391,7 @@ static int osq_decode_block(AVCodecContext *avctx, AVFrame *frame) int32_t *src = s->decode_buffer[ch] + OFFSET; for (int n = 0; n < nb_samples; n++) - dst[n] = av_clip_uint8(src[n] + 0x80); + dst[n] = av_clip_uint8(src[n] + 0x80ll); } break; case AV_SAMPLE_FMT_S16P: