avctx->pix_fmt = AV_PIX_FMT_YUV422P;
av_log(avctx, AV_LOG_DEBUG, "Image type is YUV 4:2:2.\n");
if (avctx->width % 4) {
- avpriv_request_sample(avctx, "Unsupported dimensions\n");
+ avpriv_request_sample(avctx, "Unsupported dimensions");
return AVERROR_INVALIDDATA;
}
break;
av_pix_fmt_get_chroma_sub_sample(avctx->pix_fmt, &subsample_h, &subsample_v);
if (avctx->width % (1<<subsample_h) || avctx->height % (1<<subsample_v)) {
- avpriv_request_sample(avctx, "Unsupported dimensions\n");
+ avpriv_request_sample(avctx, "Unsupported dimensions");
return AVERROR_INVALIDDATA;
}