diff --git a/doc/examples/transcode_aac.c b/doc/examples/transcode_aac.c
index 5c640d9ce25ee617551634775fc2fb680935a393..d547b326ab284c32a10c3d67d92e483b08029524 100644
--- a/doc/examples/transcode_aac.c
+++ b/doc/examples/transcode_aac.c
@@ -580,7 +580,7 @@ static int init_output_frame(AVFrame **frame,
      * sure that the audio frame can hold as many samples as specified.
      */
     if ((error = av_frame_get_buffer(*frame, 0)) < 0) {
-        fprintf(stderr, "Could allocate output frame samples (error '%s')\n",
+        fprintf(stderr, "Could not allocate output frame samples (error '%s')\n",
                 get_error_text(error));
         av_frame_free(frame);
         return error;