[FFmpeg-cvslog] h264_cavlc: switch forgotten assert to av_assert

Michael Niedermayer git at videolan.org
Mon Aug 13 06:03:50 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Aug 13 05:59:44 2012 +0200| [710600077d8c8ce64c14daa7ea6441f4589e3d55] | committer: Michael Niedermayer

h264_cavlc: switch forgotten assert to av_assert

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavcodec/h264_cavlc.c b/libavcodec/h264_cavlc.c
index 930efb3..f5d403b 100644
--- a/libavcodec/h264_cavlc.c
+++ b/libavcodec/h264_cavlc.c
@@ -360,7 +360,7 @@ av_cold void ff_h264_decode_init_vlc(void){
          * the packed static coeff_token_vlc table sizes
          * were initialized correctly.
          */
-        assert(offset == FF_ARRAY_ELEMS(coeff_token_vlc_tables));
+        av_assert0(offset == FF_ARRAY_ELEMS(coeff_token_vlc_tables));
 
         for(i=0; i<3; i++){
             chroma_dc_total_zeros_vlc[i].table = chroma_dc_total_zeros_vlc_tables[i];



More information about the ffmpeg-cvslog mailing list