From ecb14b8af73b92e5a1be47c119d2f528ff402ebd Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 1 Jan 2012 16:09:23 +0100 Subject: [PATCH] h264: add forgotten \n to "Invalid mix of idr and non-idr slices" Signed-off-by: Michael Niedermayer --- libavcodec/h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 1ec04f32ff..384e2d101c 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -3881,7 +3881,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){ switch(hx->nal_unit_type){ case NAL_IDR_SLICE: if (h->nal_unit_type != NAL_IDR_SLICE) { - av_log(h->s.avctx, AV_LOG_ERROR, "Invalid mix of idr and non-idr slices"); + av_log(h->s.avctx, AV_LOG_ERROR, "Invalid mix of idr and non-idr slices\n"); return -1; } idr(h); // FIXME ensure we don't lose some frames if there is reordering