aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-12-02 19:22:38 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-12-02 19:22:38 +0000
commitdf745b9ce688cfdf9c852ab31304462380435ced (patch)
tree89d22c6350d7a68b713842deaa7de0fd1656b5a2 /libavcodec
parent78532b052dfb0961d1f6a5c2b0a8fa6a53a3731a (diff)
downloadffmpeg-df745b9ce688cfdf9c852ab31304462380435ced.tar.gz
cosmetics, encode_variance -> encode_fast
Originally committed as revision 11132 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dnxhdenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index 10415347d3..8d5bbadad3 100644
--- a/libavcodec/dnxhdenc.c
+++ b/libavcodec/dnxhdenc.c
@@ -707,7 +707,7 @@ static int dnxhd_rc_cmp(const void *a, const void *b)
return ((RCCMPEntry *)b)->value - ((RCCMPEntry *)a)->value;
}
-static int dnxhd_encode_variance(AVCodecContext *avctx, DNXHDEncContext *ctx)
+static int dnxhd_encode_fast(AVCodecContext *avctx, DNXHDEncContext *ctx)
{
int max_bits = 0;
int ret, x, y;
@@ -789,7 +789,7 @@ static int dnxhd_encode_picture(AVCodecContext *avctx, unsigned char *buf, int b
if (avctx->mb_decision == FF_MB_DECISION_RD)
ret = dnxhd_encode_rdo(avctx, ctx);
else
- ret = dnxhd_encode_variance(avctx, ctx);
+ ret = dnxhd_encode_fast(avctx, ctx);
if (ret < 0) {
av_log(avctx, AV_LOG_ERROR, "picture could not fit ratecontrol constraints\n");
return -1;