From 175e5063320f585118a5461f15dbacf2ce17e97d Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Tue, 18 Feb 2014 23:55:29 +0100 Subject: [PATCH] hevc: Mention the missing SPS in the error message --- libavcodec/hevc_ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index 0c1550e09c..c3aabe7cc7 100644 --- a/libavcodec/hevc_ps.c +++ b/libavcodec/hevc_ps.c @@ -1029,7 +1029,7 @@ int ff_hevc_decode_nal_pps(HEVCContext *s) goto err; } if (!s->sps_list[pps->sps_id]) { - av_log(s->avctx, AV_LOG_ERROR, "SPS does not exist \n"); + av_log(s->avctx, AV_LOG_ERROR, "SPS %u does not exist.\n", pps->sps_id); ret = AVERROR_INVALIDDATA; goto err; }