aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-09-13 17:00:16 +0200
committerDiego Biurrun <diego@biurrun.de>2011-09-21 09:57:32 +0200
commit35a68558688fb6fa62261008e93bd16544fbd37e (patch)
treee16832dc69fb6f37737cd5d41ce4d77a6e70b4e7 /libavcodec
parentbe4e8908d2ccc80a0603514b95499cd4380e8f81 (diff)
downloadffmpeg-35a68558688fb6fa62261008e93bd16544fbd37e.tar.gz
Fix av_dlog invocations with wrong or missing logging context.
This fixes build failures with -DDEBUG in CPPFLAGS.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/flashsvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flashsvenc.c b/libavcodec/flashsvenc.c
index 6dc33b91f9..81aa5b6bfb 100644
--- a/libavcodec/flashsvenc.c
+++ b/libavcodec/flashsvenc.c
@@ -176,7 +176,7 @@ static int encode_bitstream(FlashSVContext *s, AVFrame *p, uint8_t *buf,
bytestream_put_be16(&ptr, zsize);
buf_pos += zsize + 2;
- av_dlog(avctx, "buf_pos = %d\n", buf_pos);
+ av_dlog(s->avctx, "buf_pos = %d\n", buf_pos);
} else {
pred_blocks++;
bytestream_put_be16(&ptr, 0);