mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/libaomenc: use av_assert0()
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
a123e576a4
commit
c42c99c3e5
@ -27,6 +27,7 @@
|
||||
#include <aom/aom_encoder.h>
|
||||
#include <aom/aomcx.h>
|
||||
|
||||
#include "libavutil/avassert.h"
|
||||
#include "libavutil/base64.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/mathematics.h"
|
||||
@ -546,7 +547,7 @@ static int queue_frames(AVCodecContext *avctx, AVPacket *pkt_out)
|
||||
|
||||
/* avoid storing the frame when the list is empty and we haven't yet
|
||||
* provided a frame for output */
|
||||
assert(!ctx->coded_frame_list);
|
||||
av_assert0(!ctx->coded_frame_list);
|
||||
cx_pktcpy(&cx_frame, pkt);
|
||||
size = storeframe(avctx, &cx_frame, pkt_out);
|
||||
if (size < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user