Patch by Lars Täuber, lars D taeuber A gmx D net Originally committed as revision 19720 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -212,7 +212,7 @@ typedef struct FFV1Context{ · 211 unmodified lines | ||
| 212 | 212 | int picture_number; |
| 213 | 213 | AVFrame picture; |
| 214 | 214 | int plane_count; |
| 215 | − int ac; ///< 1-> CABAC 0-> golomb rice | |
| 215 | + int ac; ///< 1=range coder <-> 0=golomb rice | |
| 216 | 216 | PlaneContext plane[MAX_PLANES]; |
| 217 | 217 | int16_t quant_table[5][256]; |
| 218 | 218 | int run_index; |
| @@ -736,7 +736,6 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, · 517 unmodified lines | ||
| 736 | 736 | uint8_t keystate=128; |
| 737 | 737 | |
| 738 | 738 | ff_init_range_encoder(c, buf, buf_size); |
| 739 | −// ff_init_cabac_states(c, ff_h264_lps_range, ff_h264_mps_state, ff_h264_lps_state, 64); | |
| 740 | 739 | ff_build_rac_states(c, 0.05*(1LL<<32), 256-8); |
| 741 | 740 | |
| 742 | 741 | *p = *pict; |