From f9c823df13f47d285ed0bd406906e138df4e8ae1 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 12 Jul 2012 23:18:48 +0200 Subject: [PATCH] lclenc: switch to av_assert Signed-off-by: Michael Niedermayer --- libavcodec/lclenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/lclenc.c b/libavcodec/lclenc.c index 16976ea1ece..25706f6897b 100644 --- a/libavcodec/lclenc.c +++ b/libavcodec/lclenc.c @@ -41,6 +41,7 @@ #include #include +#include "libavutil/avassert.h" #include "avcodec.h" #include "internal.h" #include "lcl.h" @@ -132,7 +133,7 @@ static av_cold int encode_init(AVCodecContext *avctx) c->avctx= avctx; - assert(avctx->width && avctx->height); + av_assert0(avctx->width && avctx->height); avctx->extradata= av_mallocz(8); avctx->coded_frame= &c->pic; -- 2.39.2