]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libvpxenc.c
Merge remote-tracking branch 'dwbuiten/master'
[ffmpeg] / libavcodec / libvpxenc.c
index f9180f0ce961292de8bb4d071d8572ab89715db0..ade7f41b1f83ddde778c9b58233a697ca82c7a96 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "avcodec.h"
 #include "internal.h"
+#include "libavutil/avassert.h"
 #include "libavutil/base64.h"
 #include "libavutil/mathematics.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
                    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, coded_frame);
                 if (size < 0)