X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Falac.c;h=2f443406615b3fa5f2a5c31ba551768560e6f28d;hb=a42e761b9623f76b36fa227e3eeb34c97c8714dc;hp=d6b87db734ff33a6ad69944d2c8ef43341dc58e9;hpb=4f9a8d3fe2f9485ee08848d336ee96f15ec0e7e6;p=ffmpeg diff --git a/libavcodec/alac.c b/libavcodec/alac.c index d6b87db734f..2f443406615 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -486,7 +486,7 @@ static av_cold int alac_decode_close(AVCodecContext *avctx) static int allocate_buffers(ALACContext *alac) { int ch; - int buf_size = alac->max_samples_per_frame * sizeof(int32_t); + unsigned buf_size = alac->max_samples_per_frame * sizeof(int32_t); for (ch = 0; ch < 2; ch++) { alac->predict_error_buffer[ch] = NULL;