summaryrefslogtreecommitdiff
path: root/libavcodec/ffv1.c
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2004-02-06 15:27:31 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2004-02-06 15:27:31 +0000
commitfe455f3328ca1ae4b71a345f50936d19f30e5c5f (patch)
tree82a5a6b41535a9a8b2d6efa20d5418931480e2b7 /libavcodec/ffv1.c
parentde7ff1f774e2610d9ac23d2613a9f7e19e8c0f9d (diff)
get_bit_count -> put_bits_count
Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ffv1.c')
-rw-r--r--libavcodec/ffv1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 3ac7a6a557..fb2aaa7371 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -409,7 +409,7 @@ static inline void encode_line(FFV1Context *s, int w, int_fast16_t *sample[2], i
}
}
-// printf("count:%d index:%d, mode:%d, x:%d y:%d pos:%d\n", run_count, run_index, run_mode, x, y, (int)get_bit_count(&s->pb));
+// printf("count:%d index:%d, mode:%d, x:%d y:%d pos:%d\n", run_count, run_index, run_mode, x, y, (int)put_bits_count(&s->pb));
if(run_mode == 0)
put_vlc_symbol(&s->pb, &p->vlc_state[context], diff, bits);
@@ -689,7 +689,7 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
return put_cabac_terminate(c, 1);
}else{
flush_put_bits(&f->pb); //nicer padding FIXME
- return used_count + (get_bit_count(&f->pb)+7)/8;
+ return used_count + (put_bits_count(&f->pb)+7)/8;
}
}