h264: add forgotten \n to "Invalid mix of idr and non-idr slices"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-01-01 16:09:23 +01:00
parent 393253b4b3
commit ecb14b8af7
1 changed files with 1 additions and 1 deletions

View File

@ -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