aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-10-21 14:47:10 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-11-01 11:29:15 -0400
commit93e27f86f161ca5ed811be3570289a4f972862dc (patch)
tree4962a1c29572eca1425dfcfb39516359245da637
parent8f173ef019d7e8921ab2cb094718f14e8c016a59 (diff)
downloadffmpeg-93e27f86f161ca5ed811be3570289a4f972862dc.tar.gz
cook: use av_dlog() for debug logging instead of av_log() with AV_LOG_ERROR
-rw-r--r--libavcodec/cook.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index ed8eaf391c..201b44c2be 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -1012,14 +1012,14 @@ static int cook_decode_frame(AVCodecContext *avctx, void *data,
static void dump_cook_context(COOKContext *q)
{
//int i=0;
-#define PRINT(a, b) av_log(q->avctx, AV_LOG_ERROR, " %s = %d\n", a, b);
- av_log(q->avctx, AV_LOG_ERROR, "COOKextradata\n");
- av_log(q->avctx, AV_LOG_ERROR, "cookversion=%x\n", q->subpacket[0].cookversion);
+#define PRINT(a, b) av_dlog(q->avctx, " %s = %d\n", a, b);
+ av_dlog(q->avctx, "COOKextradata\n");
+ av_dlog(q->avctx, "cookversion=%x\n", q->subpacket[0].cookversion);
if (q->subpacket[0].cookversion > STEREO) {
PRINT("js_subband_start", q->subpacket[0].js_subband_start);
PRINT("js_vlc_bits", q->subpacket[0].js_vlc_bits);
}
- av_log(q->avctx, AV_LOG_ERROR, "COOKContext\n");
+ av_dlog(q->avctx, "COOKContext\n");
PRINT("nb_channels", q->avctx->channels);
PRINT("bit_rate", q->avctx->bit_rate);
PRINT("sample_rate", q->avctx->sample_rate);