aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2025-08-01 22:43:23 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2025-08-03 13:48:47 +0200
commit262d41c8042acfa7ff1da6f256c367be86ecddb2 (patch)
treea9fb6b7aec94868375cf94f139dcd265158dbf7c /doc/examples
parent8d439b24839d486d1fcc858a2a5eb7ecd700e3a9 (diff)
downloadffmpeg-262d41c8042acfa7ff1da6f256c367be86ecddb2.tar.gz
all: fix typos found by codespell
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/mux.c2
-rw-r--r--doc/examples/qsv_transcode.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/examples/mux.c b/doc/examples/mux.c
index 0f3a2bb125..9b22c8dd1d 100644
--- a/doc/examples/mux.c
+++ b/doc/examples/mux.c
@@ -418,7 +418,7 @@ static void open_video(AVFormatContext *oc, const AVCodec *codec,
exit(1);
}
- /* allocate and init a re-usable frame */
+ /* allocate and init a reusable frame */
ost->frame = alloc_frame(c->pix_fmt, c->width, c->height);
if (!ost->frame) {
fprintf(stderr, "Could not allocate video frame\n");
diff --git a/doc/examples/qsv_transcode.c b/doc/examples/qsv_transcode.c
index 665a76af2e..13b4933041 100644
--- a/doc/examples/qsv_transcode.c
+++ b/doc/examples/qsv_transcode.c
@@ -101,7 +101,7 @@ static int dynamic_set_parameter(AVCodecContext *avctx)
/* Set codec specific option */
if ((ret = av_opt_set_dict(avctx->priv_data, &opts)) < 0)
goto fail;
- /* There is no "framerate" option in commom option list. Use "-r" to set
+ /* There is no "framerate" option in common option list. Use "-r" to set
* framerate, which is compatible with ffmpeg commandline. The video is
* assumed to be average frame rate, so set time_base to 1/framerate. */
e = av_dict_get(opts, "r", NULL, 0);
@@ -180,7 +180,7 @@ static int open_input_file(char *filename)
decoder = avcodec_find_decoder_by_name("mjpeg_qsv");
break;
default:
- fprintf(stderr, "Codec is not supportted by qsv\n");
+ fprintf(stderr, "Codec is not supported by qsv\n");
return AVERROR(EINVAL);
}
@@ -289,7 +289,7 @@ static int dec_enc(AVPacket *pkt, const AVCodec *enc_codec, char *optstr)
fprintf(stderr, "Failed to set encoding parameter.\n");
goto fail;
}
- /* There is no "framerate" option in commom option list. Use "-r" to
+ /* There is no "framerate" option in common option list. Use "-r" to
* set framerate, which is compatible with ffmpeg commandline. The
* video is assumed to be average frame rate, so set time_base to
* 1/framerate. */