summaryrefslogtreecommitdiff
path: root/libavcodec/get_bits.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-14 14:53:17 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-14 15:30:39 +0200
commit343f34c0b8f4cf8e6bfa429d7c190158b03c4fe8 (patch)
tree8951d1da79f606b6437367138c42244a9fefdc0f /libavcodec/get_bits.h
parentc2fc466351316195fcd3fd00c8d37e2976e7bfbf (diff)
avcodec/get_bits: print details of the location of the missing bit in check_marker()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/get_bits.h')
-rw-r--r--libavcodec/get_bits.h2
1 files changed, 1 insertions, 1 deletions
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;
}