[FFmpeg-cvslog] avcodec/bitstream: remove trivial assert

Michael Niedermayer git at videolan.org
Wed Jul 2 16:38:50 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jul  2 15:34:48 2014 +0200| [d266ecff4b6053a60d3bbdd209043facdf469b28] | committer: Michael Niedermayer

avcodec/bitstream: remove trivial assert

Fixed CID1224273

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

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

 libavcodec/bitstream.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c
index aae2dcd..d041643 100644
--- a/libavcodec/bitstream.c
+++ b/libavcodec/bitstream.c
@@ -229,7 +229,6 @@ static int build_table(VLC *vlc, int table_nb_bits, int nb_codes,
             /* note: realloc has been done, so reload tables */
             table = (volatile VLC_TYPE (*)[2])&vlc->table[table_index];
             table[j][0] = index; //code
-            av_assert0(table[j][0] == index);
             i = k-1;
         }
     }



More information about the ffmpeg-cvslog mailing list