summaryrefslogtreecommitdiff
path: root/libavutil/rational.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 /libavutil/rational.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/rational.c')
-rw-r--r--libavutil/rational.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/rational.c b/libavutil/rational.c
index 0fb855a46d..768f2524c7 100644
--- a/libavutil/rational.c
+++ b/libavutil/rational.c
@@ -160,11 +160,11 @@ int main(void)
else if (d < 0) d = -1;
else if (d != d) d = INT_MIN;
if (c != d)
- av_log(0, AV_LOG_ERROR, "%d/%d %d/%d, %d %f\n", a.num,
+ av_log(NULL, AV_LOG_ERROR, "%d/%d %d/%d, %d %f\n", a.num,
a.den, b.num, b.den, c,d);
r = av_sub_q(av_add_q(b,a), b);
if(b.den && (r.num*a.den != a.num*r.den || !r.num != !a.num || !r.den != !a.den))
- av_log(0, AV_LOG_ERROR, "%d/%d ", r.num, r.den);
+ av_log(NULL, AV_LOG_ERROR, "%d/%d ", r.num, r.den);
}
}
}