aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-25 21:35:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-25 21:35:48 +0200
commit9746f87f154029ed5866cbc02ba0d57f5b5c283f (patch)
tree1fa14166e459c44c5fcdb48b7aeadca6779d1ade /libavcodec
parentaee675a3264f53636128f49a5c043f444670c312 (diff)
downloadffmpeg-9746f87f154029ed5866cbc02ba0d57f5b5c283f.tar.gz
libvpxenc: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libvpxenc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
index f9180f0ce9..ade7f41b1f 100644
--- a/libavcodec/libvpxenc.c
+++ b/libavcodec/libvpxenc.c
@@ -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)