[FFmpeg-cvslog] avcodec/h264_ps: Provide more details with "Truncated VUI" Message

Michael Niedermayer git at videolan.org
Tue Dec 31 20:04:56 EET 2019


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Dec 15 19:00:21 2019 +0100| [77ba9e32520a910f07be3c5516f51b9aee58768f] | committer: Michael Niedermayer

avcodec/h264_ps: Provide more details with "Truncated VUI" Message

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavcodec/h264_ps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c
index e8738d8502..edbaa96b64 100644
--- a/libavcodec/h264_ps.c
+++ b/libavcodec/h264_ps.c
@@ -186,7 +186,7 @@ static inline int decode_vui_parameters(GetBitContext *gb, AVCodecContext *avctx
     }
 
     if (show_bits1(gb) && get_bits_left(gb) < 10) {
-        av_log(avctx, AV_LOG_WARNING, "Truncated VUI\n");
+        av_log(avctx, AV_LOG_WARNING, "Truncated VUI (%d)\n", get_bits_left(gb));
         return 0;
     }
 



More information about the ffmpeg-cvslog mailing list