diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 09898a6bb7..9ebea9eed5 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -4771,8 +4771,11 @@ again: case NAL_DPA: case NAL_DPB: case NAL_DPC: + av_log(h->avctx, AV_LOG_WARNING, + "Ignoring NAL %d in global header/extradata\n", + hx->nal_unit_type); + // fall through to next case case NAL_AUXILIARY_SLICE: - av_log(h->avctx, AV_LOG_WARNING, "Ignoring NAL %d in global header/extradata\n", hx->nal_unit_type); hx->nal_unit_type = NAL_FF_IGNORE; } }