Commit 343f34c0 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/get_bits: print details of the location of the missing bit in check_marker()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c2fc4663
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment