summaryrefslogtreecommitdiff
path: root/libavcodec/ratecontrol.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/ratecontrol.c')
-rw-r--r--libavcodec/ratecontrol.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c
index c0eac6daf4..47a1490d02 100644
--- a/libavcodec/ratecontrol.c
+++ b/libavcodec/ratecontrol.c
@@ -175,8 +175,8 @@ FF_ENABLE_DEPRECATION_WARNINGS
if (!rcc->entry)
return AVERROR(ENOMEM);
- /* init all to skipped p frames
- * (with b frames we might have a not encoded frame at the end FIXME) */
+ /* init all to skipped P-frames
+ * (with B-frames we might have a not encoded frame at the end FIXME) */
for (i = 0; i < rcc->num_entries; i++) {
RateControlEntry *rce = &rcc->entry[i];
@@ -196,7 +196,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
next = strchr(p, ';');
if (next) {
- (*next) = 0; // sscanf in unbelievably slow on looong strings // FIXME copy / do not write
+ (*next) = 0; // sscanf is unbelievably slow on looong strings // FIXME copy / do not write
next++;
}
e = sscanf(p, " in:%d ", &picture_number);
@@ -638,9 +638,9 @@ static void adaptive_quantization(MpegEncContext *s, double q)
int mb_distance;
float mb_factor = 0.0;
if (spat_cplx < 4)
- spat_cplx = 4; // FIXME finetune
+ spat_cplx = 4; // FIXME fine-tune
if (temp_cplx < 4)
- temp_cplx = 4; // FIXME finetune
+ temp_cplx = 4; // FIXME fine-tune
if ((s->mb_type[mb_xy] & CANDIDATE_MB_TYPE_INTRA)) { // FIXME hq mode
cplx = spat_cplx;