summaryrefslogtreecommitdiff
path: root/libavcodec/vaapi_encode.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vaapi_encode.c')
-rw-r--r--libavcodec/vaapi_encode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c
index c80e638cad..075c848f60 100644
--- a/libavcodec/vaapi_encode.c
+++ b/libavcodec/vaapi_encode.c
@@ -636,7 +636,7 @@ static int vaapi_encode_get_next(AVCodecContext *avctx,
start = end = pic;
if (pic->type != PICTURE_TYPE_IDR) {
- // If that was not an IDR frame, add B frames display-before and
+ // If that was not an IDR frame, add B-frames display-before and
// encode-after it.
for (i = 0; i < ctx->b_per_p; i++) {
@@ -708,7 +708,7 @@ static int vaapi_encode_mangle_end(AVCodecContext *avctx)
if (last_pic->type == PICTURE_TYPE_B) {
// Some fixing up is required. Change the type of this
- // picture to P, then modify preceeding B references which
+ // picture to P, then modify preceding B references which
// point beyond it to point at it instead.
last_pic->type = PICTURE_TYPE_P;