diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index c05f7f690e7b23dc2ca80570d7e5dd80821c34c8..8232cbc76d5e45cfe3423d5c62fbd7ff069bbf12 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -956,7 +956,7 @@ static int mpegts_write_packet(AVFormatContext *s, AVPacket *pkt)
 
         if (pkt->size < 5 || AV_RB32(pkt->data) != 0x0000001) {
             av_log(s, AV_LOG_ERROR, "H.264 bitstream malformed, "
-                   "no startcode found, use -vbsf h264_mp4toannexb\n");
+                   "no startcode found, use -bsf h264_mp4toannexb\n");
             return -1;
         }