diff --git a/libavcodec/exr.c b/libavcodec/exr.c index c1059f8931..9c35f5f5ae 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 6086e2e681..9762eeba90 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 2bbf033664..73d8bdf41c 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 dee904397c..603368370c 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; }