Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-23 21:10:02 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-11-23 21:10:02 +0400
commit0efcf16a3e6ea19abf65e86ef6116dc88892a670 (patch)
tree02fa96255bc4b6f57fa3c890938cba1df0b0d421 /libavutil/imgutils.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 'libavutil/imgutils.c')
-rw-r--r--libavutil/imgutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c
index b946d6dc0c..8595ba1bbf 100644
--- a/libavutil/imgutils.c
+++ b/libavutil/imgutils.c
@@ -277,7 +277,7 @@ void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4],
int h = height;
int bwidth = av_image_get_linesize(pix_fmt, width, i);
if (bwidth < 0) {
- av_log(0, AV_LOG_ERROR, "av_image_get_linesize failed\n");
+ av_log(NULL, AV_LOG_ERROR, "av_image_get_linesize failed\n");
return;
}
if (i == 1 || i == 2) {