From 35a68558688fb6fa62261008e93bd16544fbd37e Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 13 Sep 2011 17:00:16 +0200 Subject: Fix av_dlog invocations with wrong or missing logging context. This fixes build failures with -DDEBUG in CPPFLAGS. --- libavcodec/flashsvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/flashsvenc.c') 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); -- cgit v1.2.3