[FFmpeg-cvslog] ffv1dec: remove incorrect assert()

Michael Niedermayer git at videolan.org
Fri Nov 23 02:42:31 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Nov 23 01:33:12 2012 +0100| [0560b28f12794b747adc1dd9d25b98cc418dff73] | committer: Michael Niedermayer

ffv1dec: remove incorrect assert()

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

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

 libavcodec/ffv1dec.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
index 75d2be6..da44b94 100644
--- a/libavcodec/ffv1dec.c
+++ b/libavcodec/ffv1dec.c
@@ -78,8 +78,6 @@ static inline int get_vlc_symbol(GetBitContext *gb, VlcState *const state,
         i += i;
     }
 
-    assert(k <= 8);
-
     v = get_sr_golomb(gb, k, 12, bits);
     av_dlog(NULL, "v:%d bias:%d error:%d drift:%d count:%d k:%d",
             v, state->bias, state->error_sum, state->drift, state->count, k);



More information about the ffmpeg-cvslog mailing list