summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/asv1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg/libavcodec/asv1.c')
-rw-r--r--src/libffmpeg/libavcodec/asv1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libffmpeg/libavcodec/asv1.c b/src/libffmpeg/libavcodec/asv1.c
index b84b02475..87b13c637 100644
--- a/src/libffmpeg/libavcodec/asv1.c
+++ b/src/libffmpeg/libavcodec/asv1.c
@@ -519,10 +519,10 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
emms_c();
align_put_bits(&a->pb);
- while(get_bit_count(&a->pb)&31)
+ while(put_bits_count(&a->pb)&31)
put_bits(&a->pb, 8, 0);
- size= get_bit_count(&a->pb)/32;
+ size= put_bits_count(&a->pb)/32;
if(avctx->codec_id == CODEC_ID_ASV1)
a->dsp.bswap_buf((uint32_t*)buf, (uint32_t*)buf, size);