summaryrefslogtreecommitdiff
path: root/libavcodec/lzw.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-23 18:10:02 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-23 18:10:02 +0100
commit0efcf16a3e6ea19abf65e86ef6116dc88892a670 (patch)
tree02fa96255bc4b6f57fa3c890938cba1df0b0d421 /libavcodec/lzw.c
parentc322f19855df10f9ceaf3f15a3c0d9d3b78c7279 (diff)
replace av_log(0, by av_log(NULL,
The first parameter is a pointer and NULL is more correct Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/lzw.c')
-rw-r--r--libavcodec/lzw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/lzw.c b/libavcodec/lzw.c
index d06e3a0ce5..97f6e6ac82 100644
--- a/libavcodec/lzw.c
+++ b/libavcodec/lzw.c
@@ -192,7 +192,7 @@ int ff_lzw_decode(LZWState *p, uint8_t *buf, int len){
goto the_end;
}
if (s->ebuf < s->pbuf) {
- av_log(0, AV_LOG_ERROR, "lzw overread\n");
+ av_log(NULL, AV_LOG_ERROR, "lzw overread\n");
goto the_end;
}
c = lzw_get_code(s);