[FFmpeg-cvslog] avcodec/mmaldec: Use av_assert0() instead of assert()

Michael Niedermayer git at videolan.org
Mon Oct 5 12:25:29 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Oct  5 12:04:40 2015 +0200| [c0152ebb9e0501b9d3d4386531995683a4ac824c] | committer: Michael Niedermayer

avcodec/mmaldec: Use av_assert0() instead of assert()

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c0152ebb9e0501b9d3d4386531995683a4ac824c
---

 libavcodec/mmaldec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c
index a219e98..bb8f17b 100644
--- a/libavcodec/mmaldec.c
+++ b/libavcodec/mmaldec.c
@@ -165,7 +165,7 @@ static void ffmmal_stop_decoder(AVCodecContext *avctx)
     }
     ctx->waiting_buffers_tail = NULL;
 
-    assert(avpriv_atomic_get(&ctx->packets_buffered) == 0);
+    av_assert0(avpriv_atomic_get(&ctx->packets_buffered) == 0);
 
     ctx->frames_output = ctx->eos_received = ctx->eos_sent = ctx->packets_sent = ctx->extradata_sent = 0;
 }



More information about the ffmpeg-cvslog mailing list