[FFmpeg-cvslog] avcodec/snowenc: remove out-commented assert
Michael Niedermayer
git at videolan.org
Tue Aug 26 15:30:22 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Aug 26 15:20:58 2014 +0200| [85f0bde4f07d763bd3340257a6f780978aa7f120] | committer: Michael Niedermayer
avcodec/snowenc: remove out-commented assert
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=85f0bde4f07d763bd3340257a6f780978aa7f120
---
libavcodec/snowenc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c
index 0fae0a6..eaeafa9 100644
--- a/libavcodec/snowenc.c
+++ b/libavcodec/snowenc.c
@@ -390,7 +390,6 @@ static int encode_q_branch(SnowContext *s, int level, int x, int y){
i_len= ic.bytestream - ic.bytestream_start;
iscore += (s->lambda2*(get_rac_count(&ic)-base_bits))>>FF_LAMBDA_SHIFT;
-// assert(score==256*256*256*64-1);
av_assert1(iscore < 255*255*256 + s->lambda2*10);
av_assert1(iscore >= 0);
av_assert1(l>=0 && l<=255);
More information about the ffmpeg-cvslog
mailing list