]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/cbs_mpeg2.c
avcodec/jpeg2000dec: Allocate lengthinc and data_start arrays as needed
[ffmpeg] / libavcodec / cbs_mpeg2.c
index 8fb5375e3b918a19a09d78a57f3cc3d9a0c8f1a9..642a9c99b1a701dfd10df04dd9d37d129ec1d125 100644 (file)
@@ -305,7 +305,7 @@ static int cbs_mpeg2_write_unit(CodedBitstreamContext *ctx,
         if (err < 0) {
             av_log(ctx->log_ctx, AV_LOG_ERROR, "Unable to allocate a "
                    "sufficiently large write buffer (last attempt "
-                   "%zu bytes).\n", priv->write_buffer_size);
+                   "%"SIZE_SPECIFIER" bytes).\n", priv->write_buffer_size);
             return err;
         }
     }