[FFmpeg-cvslog] ape: use correct context for the bit table printed in debug

Kostya Shishkov git at videolan.org
Thu Mar 28 12:17:45 CET 2013


ffmpeg | branch: master | Kostya Shishkov <kostya.shishkov at gmail.com> | Wed Mar 27 08:57:08 2013 +0100| [472391b9a7e15e3bff33b016e7b6dbfa6a555975] | committer: Kostya Shishkov

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=472391b9a7e15e3bff33b016e7b6dbfa6a555975
---

 libavformat/ape.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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");



More information about the ffmpeg-cvslog mailing list