Commit ecb14b8a authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 393253b4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment