[FFmpeg-cvslog] avcodec/get_bits: print details of the location of the missing bit in check_marker()
Michael Niedermayer
git at videolan.org
Tue Apr 14 15:45:26 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Apr 14 14:53:17 2015 +0200| [343f34c0b8f4cf8e6bfa429d7c190158b03c4fe8] | committer: Michael Niedermayer
avcodec/get_bits: print details of the location of the missing bit in check_marker()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=343f34c0b8f4cf8e6bfa429d7c190158b03c4fe8
---
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 b9dec4f..942689c 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;
}
More information about the ffmpeg-cvslog
mailing list