[FFmpeg-cvslog] hevc: Mention the missing SPS in the error message

Luca Barbato git at videolan.org
Wed Feb 19 22:31:01 CET 2014


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Tue Feb 18 23:55:29 2014 +0100| [175e5063320f585118a5461f15dbacf2ce17e97d] | committer: Luca Barbato

hevc: Mention the missing SPS in the error message

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=175e5063320f585118a5461f15dbacf2ce17e97d
---

 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 0c1550e..c3aabe7 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;
     }



More information about the ffmpeg-cvslog mailing list