Module: libav
Branch: master
Commit: 472391b9a7e15e3bff33b016e7b6dbfa6a555975

Author:    Kostya Shishkov <[email protected]>
Committer: Kostya Shishkov <[email protected]>
Date:      Wed Mar 27 08:57:08 2013 +0100

ape: use correct context for the bit table printed in debug

---

 libavformat/ape.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/ape.c b/libavformat/ape.c
index e70fcfd..c4ce6ac 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");

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to