OSDN Git Service

hevc: Mention the missing SPS in the error message
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 18 Feb 2014 22:55:29 +0000 (23:55 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 19 Feb 2014 15:59:40 +0000 (16:59 +0100)
libavcodec/hevc_ps.c

index 0c1550e..c3aabe7 100644 (file)
@@ -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;
     }