aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lclenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-12 23:18:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-12 23:18:48 +0200
commitf9c823df13f47d285ed0bd406906e138df4e8ae1 (patch)
tree81759a2436d715cef91ebb6f75ffe967b95ca8f2 /libavcodec/lclenc.c
parentdb03f91f4bfd7ea9ce9988fd5f9065ffd1ddf838 (diff)
downloadffmpeg-f9c823df13f47d285ed0bd406906e138df4e8ae1.tar.gz
lclenc: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/lclenc.c')
-rw-r--r--libavcodec/lclenc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/lclenc.c b/libavcodec/lclenc.c
index 16976ea1ec..25706f6897 100644
--- a/libavcodec/lclenc.c
+++ b/libavcodec/lclenc.c
@@ -41,6 +41,7 @@
#include <stdio.h>
#include <stdlib.h>
+#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;