Commit f9c823df authored by Michael Niedermayer's avatar Michael Niedermayer

lclenc: switch to av_assert

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent db03f91f
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "libavutil/avassert.h"
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "lcl.h" #include "lcl.h"
...@@ -132,7 +133,7 @@ static av_cold int encode_init(AVCodecContext *avctx) ...@@ -132,7 +133,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
c->avctx= avctx; c->avctx= avctx;
assert(avctx->width && avctx->height); av_assert0(avctx->width && avctx->height);
avctx->extradata= av_mallocz(8); avctx->extradata= av_mallocz(8);
avctx->coded_frame= &c->pic; avctx->coded_frame= &c->pic;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment