From 472391b9a7e15e3bff33b016e7b6dbfa6a555975 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Wed, 27 Mar 2013 08:57:08 +0100 Subject: [PATCH] ape: use correct context for the bit table printed in debug --- libavformat/ape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/ape.c b/libavformat/ape.c index e70fcfd017..c4ce6acf80 100644 --- a/libavformat/ape.c +++ b/libavformat/ape.c @@ -134,7 +134,7 @@ static void ape_dumpinfo(AVFormatContext * s, APEContext * ape_ctx) av_log(s, AV_LOG_DEBUG, "%8d %"PRIu32" (%"PRIu32" bytes)", i, ape_ctx->seektable[i], ape_ctx->seektable[i + 1] - ape_ctx->seektable[i]); - if (s->bittable) + if (ape_ctx->bittable) av_log(s, AV_LOG_DEBUG, " + %2d bits\n", ape_ctx->bittable[i]); av_log(s, AV_LOG_DEBUG, "\n");