Commit 42a29015 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'a7a07cc9'

* commit 'a7a07cc9':
  hevc: check that VPS referenced from SPS exists

Conflicts:
	libavcodec/hevc_ps.c

See: d66bab0aMerged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents e34ad128 a7a07cc9
......@@ -636,7 +636,8 @@ int ff_hevc_decode_nal_sps(HEVCContext *s)
}
if (!s->vps_list[sps->vps_id]) {
av_log(s->avctx, AV_LOG_ERROR, "VPS does not exist \n");
av_log(s->avctx, AV_LOG_ERROR, "VPS %d does not exist\n",
sps->vps_id);
ret = AVERROR_INVALIDDATA;
goto err;
}
......
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