diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-04-14 14:53:17 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-14 15:30:39 +0200 |
commit | 343f34c0b8f4cf8e6bfa429d7c190158b03c4fe8 (patch) | |
tree | 8951d1da79f606b6437367138c42244a9fefdc0f | |
parent | c2fc466351316195fcd3fd00c8d37e2976e7bfbf (diff) | |
download | ffmpeg-343f34c0b8f4cf8e6bfa429d7c190158b03c4fe8.tar.gz |
avcodec/get_bits: print details of the location of the missing bit in check_marker()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/get_bits.h | 2 |
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; } |