int id = layout_map[i][1];
id_map[type][id] = type_counts[type]++;
if (id_map[type][id] >= MAX_ELEM_ID) {
- avpriv_request_sample(ac->avctx, "Remapped id too large\n");
+ avpriv_request_sample(ac->avctx, "Too large remapped id");
return AVERROR_PATCHWELCOME;
}
}
ctx->is_444 = (buf[0x2C] >> 6) & 1;
if (ctx->is_444) {
if (bitdepth == 8) {
- avpriv_request_sample(ctx->avctx, "4:4:4 8 bits\n");
+ avpriv_request_sample(ctx->avctx, "4:4:4 8 bits");
return AVERROR_INVALIDDATA;
} else if (bitdepth == 10) {
ctx->decode_dct_block = dnxhd_decode_dct_block_10_444;
static av_cold int m101_decode_init(AVCodecContext *avctx)
{
if (avctx->extradata_size < 6*4) {
- avpriv_request_sample(avctx, "Missing or too small extradata (size %d)\n", avctx->extradata_size);
+ avpriv_request_sample(avctx, "Missing or too small extradata (size %d)", avctx->extradata_size);
return AVERROR_INVALIDDATA;
}
else if (avctx->extradata[2*4] == 8) {
avctx->pix_fmt = AV_PIX_FMT_YUYV422;
} else {
- avpriv_request_sample(avctx, "BPS %d\n", avctx->extradata[2*4]);
+ avpriv_request_sample(avctx, "BPS %d", avctx->extradata[2*4]);
return AVERROR_INVALIDDATA;
}
return -1;
}
if (s->slice_type != s->pict_type) {
- avpriv_request_sample(avctx, "non constant slice type\n");
+ avpriv_request_sample(avctx, "non constant slice type");
}
/* TODO: support s->mb_skip_run */
}