changeset 10098:fef90da31453 libavcodec

Fix comments after switching from CABAC to range coder in r3658. Patch by Lars T¸«£uber, lars D taeuber A gmx D net
author cehoyos
date Wed, 26 Aug 2009 21:25:43 +0000
parents 9b608d9428ae
children 27eef2ead6ab
files ffv1.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ffv1.c	Wed Aug 26 21:23:21 2009 +0000
+++ b/ffv1.c	Wed Aug 26 21:25:43 2009 +0000
@@ -212,7 +212,7 @@
     int picture_number;
     AVFrame picture;
     int plane_count;
-    int ac;                              ///< 1-> CABAC 0-> golomb rice
+    int ac;                              ///< 1=range coder <-> 0=golomb rice
     PlaneContext plane[MAX_PLANES];
     int16_t quant_table[5][256];
     int run_index;
@@ -736,7 +736,6 @@
     uint8_t keystate=128;
 
     ff_init_range_encoder(c, buf, buf_size);
-//    ff_init_cabac_states(c, ff_h264_lps_range, ff_h264_mps_state, ff_h264_lps_state, 64);
     ff_build_rac_states(c, 0.05*(1LL<<32), 256-8);
 
     *p = *pict;