diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-23 18:10:02 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-23 18:10:02 +0100 |
commit | 0efcf16a3e6ea19abf65e86ef6116dc88892a670 (patch) | |
tree | 02fa96255bc4b6f57fa3c890938cba1df0b0d421 /libavcodec/dsicinav.c | |
parent | c322f19855df10f9ceaf3f15a3c0d9d3b78c7279 (diff) | |
download | ffmpeg-streaming-0efcf16a3e6ea19abf65e86ef6116dc88892a670.zip ffmpeg-streaming-0efcf16a3e6ea19abf65e86ef6116dc88892a670.tar.gz |
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/dsicinav.c')
-rw-r--r-- | libavcodec/dsicinav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsicinav.c b/libavcodec/dsicinav.c index a1b45f1..0290f5a 100644 --- a/libavcodec/dsicinav.c +++ b/libavcodec/dsicinav.c @@ -212,7 +212,7 @@ static int cin_decode_rle(const unsigned char *src, int src_size, unsigned char } else { len = code + 1; if (len > src_end-src) { - av_log(0, AV_LOG_ERROR, "RLE overread\n"); + av_log(NULL, AV_LOG_ERROR, "RLE overread\n"); return AVERROR_INVALIDDATA; } memcpy(dst, src, FFMIN(len, dst_end - dst)); |