Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer 10 years ago
parent
commit
343f34c0b8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/get_bits.h

+ 1
- 1
libavcodec/get_bits.h View File

@@ -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;
}


Loading…
Cancel
Save