summaryrefslogtreecommitdiff
path: root/libavformat/ape.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2013-03-27 08:57:08 +0100
committerKostya Shishkov <kostya.shishkov@gmail.com>2013-03-27 16:20:08 +0100
commit472391b9a7e15e3bff33b016e7b6dbfa6a555975 (patch)
tree3392b2b5fb1135d6c4d964b3d136d8e64dddeeeb /libavformat/ape.c
parent7c22d0489fa4bf0e74ae45725007dcba5028cb04 (diff)
ape: use correct context for the bit table printed in debug
Diffstat (limited to 'libavformat/ape.c')
-rw-r--r--libavformat/ape.c2
1 files changed, 1 insertions, 1 deletions
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");