|
@@ -389,7 +389,7 @@ static int osq_decode_block(AVCodecContext *avctx, AVFrame *frame)
|
|
|
int32_t *src = s->decode_buffer[ch] + OFFSET;
|
|
int32_t *src = s->decode_buffer[ch] + OFFSET;
|
|
|
|
|
|
|
|
for (int n = 0; n < nb_samples; n++)
|
|
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;
|
|
break;
|
|
|
case AV_SAMPLE_FMT_S16P:
|
|
case AV_SAMPLE_FMT_S16P:
|