]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/gsmdec.c
avcodec: Add av_cold attributes to init functions missing them
[ffmpeg] / libavcodec / gsmdec.c
index e452be3fe032fdee875a2c569e13d2387a24f636..d67f0b49c09e7cc792e8a01a81f3d0a7e6833b08 100644 (file)
@@ -69,7 +69,7 @@ static int gsm_decode_frame(AVCodecContext *avctx, void *data,
 
     /* get output buffer */
     frame->nb_samples = avctx->frame_size;
-    if ((res = ff_get_buffer(avctx, frame)) < 0) {
+    if ((res = ff_get_buffer(avctx, frame, 0)) < 0) {
         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
         return res;
     }