diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index c1059f89310c9d22683c7feee9ecd4571719afe3..9c35f5f5aee48b927402a5db7c7a288dcfcc2f45 100644
--- a/libavcodec/exr.c
+++ b/libavcodec/exr.c
@@ -1092,8 +1092,7 @@ static int decode_header(EXRContext *s)
 
                 current_pixel_type = bytestream2_get_le32(&ch_gb);
                 if (current_pixel_type >= EXR_UNKNOWN) {
-                    avpriv_report_missing_feature(s->avctx,
-                                                  "Pixel type %d.\n",
+                    avpriv_report_missing_feature(s->avctx, "Pixel type %d",
                                                   current_pixel_type);
                     return AVERROR_PATCHWELCOME;
                 }
diff --git a/libavcodec/ivi.c b/libavcodec/ivi.c
index 6086e2e6819eb361da14a709b799a365369c97f3..9762eeba90a018335ebacb028ad7f44cc167560d 100644
--- a/libavcodec/ivi.c
+++ b/libavcodec/ivi.c
@@ -1054,7 +1054,7 @@ int ff_ivi_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
     }
 
     if (ctx->gop_flags & IVI5_IS_PROTECTED) {
-        avpriv_report_missing_feature(avctx, "Password-protected clip!\n");
+        avpriv_report_missing_feature(avctx, "Password-protected clip");
         return AVERROR_PATCHWELCOME;
     }
 
diff --git a/libavformat/lxfdec.c b/libavformat/lxfdec.c
index 2bbf0336640c87110674aa5f6fd8094b71e489dc..73d8bdf41c15d5d3db74b035968404f3533ce8d5 100644
--- a/libavformat/lxfdec.c
+++ b/libavformat/lxfdec.c
@@ -130,7 +130,7 @@ static int get_packet_header(AVFormatContext *s)
     version     = bytestream_get_le32(&p);
     header_size = bytestream_get_le32(&p);
     if (version > 1)
-        avpriv_request_sample(s, "Unknown format version %"PRIu32"\n", version);
+        avpriv_request_sample(s, "Format version %"PRIu32, version);
 
     if (header_size < (version ? 72 : 60) ||
         header_size > LXF_MAX_PACKET_HEADER_SIZE ||
diff --git a/libavformat/rtpdec_hevc.c b/libavformat/rtpdec_hevc.c
index dee904397cc4e750df23dcf2de585dd13a322c63..603368370c76113c01b37d4f38a349e663de9f8a 100644
--- a/libavformat/rtpdec_hevc.c
+++ b/libavformat/rtpdec_hevc.c
@@ -218,7 +218,7 @@ static int hevc_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_hevc_ctx
     /* sanity check for correct layer ID */
     if (lid) {
         /* future scalable or 3D video coding extensions */
-        avpriv_report_missing_feature(ctx, "Multi-layer HEVC coding\n");
+        avpriv_report_missing_feature(ctx, "Multi-layer HEVC coding");
         return AVERROR_PATCHWELCOME;
     }
 
@@ -330,7 +330,7 @@ static int hevc_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_hevc_ctx
     /* PACI packet */
     case 50:
         /* Temporal scalability control information (TSCI) */
-        avpriv_report_missing_feature(ctx, "PACI packets for RTP/HEVC\n");
+        avpriv_report_missing_feature(ctx, "PACI packets for RTP/HEVC");
         res = AVERROR_PATCHWELCOME;
         break;
     }