[FFmpeg-cvslog] h264_loopfilter: use av_assert
Michael Niedermayer
git at videolan.org
Mon Jun 25 23:15:28 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jun 25 21:12:07 2012 +0200| [cd6aa95caa41af43a6ec5aa53cf167525430955b] | committer: Michael Niedermayer
h264_loopfilter: use av_assert
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cd6aa95caa41af43a6ec5aa53cf167525430955b
---
libavcodec/h264_loopfilter.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/libavcodec/h264_loopfilter.c b/libavcodec/h264_loopfilter.c
index 6395607..7cd9f69 100644
--- a/libavcodec/h264_loopfilter.c
+++ b/libavcodec/h264_loopfilter.c
@@ -34,9 +34,6 @@
#include "mathops.h"
#include "rectangle.h"
-//#undef NDEBUG
-#include <assert.h>
-
/* Deblocking filter (p153) */
static const uint8_t alpha_table[52*3] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
@@ -418,7 +415,7 @@ static av_always_inline void h264_filter_mb_fast_internal(H264Context *h,
}
void ff_h264_filter_mb_fast( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize) {
- assert(!FRAME_MBAFF);
+ av_assert2(!FRAME_MBAFF);
if(!h->h264dsp.h264_loop_filter_strength || h->pps.chroma_qp_diff) {
ff_h264_filter_mb(h, mb_x, mb_y, img_y, img_cb, img_cr, linesize, uvlinesize);
return;
More information about the ffmpeg-cvslog
mailing list