X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fbprint.h;h=d1682fca9240fef51c5e9a05800b48d8650cf935;hb=ad26e83f9cb8626346164ca5e794e940e63db32c;hp=839ec1ec0d782b21a8f9c5f6bb49fa83f44322b1;hpb=1e4e760f767b597f88442b75e90d726ae626b230;p=ffmpeg diff --git a/libavutil/bprint.h b/libavutil/bprint.h index 839ec1ec0d7..d1682fca924 100644 --- a/libavutil/bprint.h +++ b/libavutil/bprint.h @@ -179,7 +179,7 @@ void av_bprint_clear(AVBPrint *buf); * It may have been truncated due to a memory allocation failure * or the size_max limit (compare size and size_max if necessary). */ -static inline int av_bprint_is_complete(AVBPrint *buf) +static inline int av_bprint_is_complete(const AVBPrint *buf) { return buf->len < buf->size; }