mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libvpxenc: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
aee675a326
commit
9746f87f15
@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
#include "libavutil/avassert.h"
|
||||||
#include "libavutil/base64.h"
|
#include "libavutil/base64.h"
|
||||||
#include "libavutil/mathematics.h"
|
#include "libavutil/mathematics.h"
|
||||||
#include "libavutil/opt.h"
|
#include "libavutil/opt.h"
|
||||||
@ -447,7 +448,7 @@ static int queue_frames(AVCodecContext *avctx, AVPacket *pkt_out,
|
|||||||
|
|
||||||
/* avoid storing the frame when the list is empty and we haven't yet
|
/* avoid storing the frame when the list is empty and we haven't yet
|
||||||
provided a frame for output */
|
provided a frame for output */
|
||||||
assert(!ctx->coded_frame_list);
|
av_assert0(!ctx->coded_frame_list);
|
||||||
cx_pktcpy(&cx_frame, pkt);
|
cx_pktcpy(&cx_frame, pkt);
|
||||||
size = storeframe(avctx, &cx_frame, pkt_out, coded_frame);
|
size = storeframe(avctx, &cx_frame, pkt_out, coded_frame);
|
||||||
if (size < 0)
|
if (size < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user