mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
lclenc: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
db03f91f4b
commit
f9c823df13
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user