[FFmpeg-cvslog] j2k: remove unreachable assert()

Michael Niedermayer git at videolan.org
Sun Jun 10 23:45:55 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jun 10 23:27:17 2012 +0200| [4e3a5bc1f63986e20f65f71dbe43e142bd9268ae] | committer: Michael Niedermayer

j2k: remove unreachable assert()

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

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

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

diff --git a/libavcodec/j2k.c b/libavcodec/j2k.c
index 33a7e31..5a42814 100644
--- a/libavcodec/j2k.c
+++ b/libavcodec/j2k.c
@@ -148,7 +148,6 @@ static int getnbctxno(int flag, int bandno, int vert_causal_ctx_csty_symbol)
             if (h+v == 1) return 1;
             return 0;
     }
-    assert(0);
 }
 
 uint8_t ff_j2k_sgnctxno_lut[16][16], ff_j2k_xorbit_lut[16][16];



More information about the ffmpeg-cvslog mailing list