]> git.sesse.net Git - ffmpeg/commitdiff
ape: use correct context for the bit table printed in debug
authorKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 27 Mar 2013 07:57:08 +0000 (08:57 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 27 Mar 2013 15:20:08 +0000 (16:20 +0100)
libavformat/ape.c

index e70fcfd017b71aaea8b0cb9212b318d7b261e1a8..c4ce6acf80d73a1ac460e8d5269c23dee903f74f 100644 (file)
@@ -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");