From 343f34c0b8f4cf8e6bfa429d7c190158b03c4fe8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 14 Apr 2015 14:53:17 +0200 Subject: [PATCH] avcodec/get_bits: print details of the location of the missing bit in check_marker() Signed-off-by: Michael Niedermayer --- libavcodec/get_bits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h index b9dec4fe35..942689c43b 100644 --- a/libavcodec/get_bits.h +++ b/libavcodec/get_bits.h @@ -394,7 +394,7 @@ static inline int check_marker(GetBitContext *s, const char *msg) { int bit = get_bits1(s); if (!bit) - av_log(NULL, AV_LOG_INFO, "Marker bit missing %s\n", msg); + av_log(NULL, AV_LOG_INFO, "Marker bit missing at %d of %d %s\n", get_bits_count(s) - 1, s->size_in_bits, msg); return bit; }