aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/imgconvert.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/imgconvert.c
parentc322f19855df10f9ceaf3f15a3c0d9d3b78c7279 (diff)
downloadffmpeg-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/imgconvert.c')
-rw-r--r--libavcodec/imgconvert.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index e74232ec50..030810c916 100644
--- a/libavcodec/imgconvert.c
+++ b/libavcodec/imgconvert.c
@@ -643,12 +643,12 @@ int main(void){
continue;
}
if (skip) {
- av_log(0, AV_LOG_INFO, "%3d unused pixel format values\n", skip);
+ av_log(NULL, AV_LOG_INFO, "%3d unused pixel format values\n", skip);
skip = 0;
}
- av_log(0, AV_LOG_INFO, "pix fmt %s yuv_plan:%d avg_bpp:%d colortype:%d\n", desc->name, is_yuv_planar(desc), av_get_padded_bits_per_pixel(desc), get_color_type(desc));
+ av_log(NULL, AV_LOG_INFO, "pix fmt %s yuv_plan:%d avg_bpp:%d colortype:%d\n", desc->name, is_yuv_planar(desc), av_get_padded_bits_per_pixel(desc), get_color_type(desc));
if ((!(desc->flags & PIX_FMT_ALPHA)) != (desc->nb_components != 2 && desc->nb_components != 4)) {
- av_log(0, AV_LOG_ERROR, "Alpha flag mismatch\n");
+ av_log(NULL, AV_LOG_ERROR, "Alpha flag mismatch\n");
err = 1;
}
}