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

Luca Barbato git at videolan.org
Mon Mar 3 23:14:24 CET 2014


ffmpeg | branch: release/2.2 | Luca Barbato <lu_zero at gentoo.org> | Tue Feb 18 23:55:29 2014 +0100| [646c564de545d808465e231dfcec60539654de2c] | committer: Reinhard Tartler

hevc: Mention the missing SPS in the error message

(cherry picked from commit 175e5063320f585118a5461f15dbacf2ce17e97d)

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

 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