diff options
author | Lars Täuber <lars.taeuber@gmx.net> | 2009-08-26 21:25:43 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2009-08-26 21:25:43 +0000 |
commit | 2fee538a16210e1d07013718ba2a11cb97c1435f (patch) | |
tree | 4d8b93444b48e909038082a62abc5105944fea47 | |
parent | 85fecafe49ca7fc27801149e38bed42ba1cd4d58 (diff) | |
download | ffmpeg-2fee538a16210e1d07013718ba2a11cb97c1435f.tar.gz |
Fix comments after switching from CABAC to range coder in r3658.
Patch by Lars Täuber, lars D taeuber A gmx D net
Originally committed as revision 19720 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/ffv1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 0c0062edcc..86f9f31405 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -212,7 +212,7 @@ typedef struct FFV1Context{ 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 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, 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; |