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 /libavfilter | |
parent | c322f19855df10f9ceaf3f15a3c0d9d3b78c7279 (diff) | |
download | ffmpeg-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 'libavfilter')
-rw-r--r-- | libavfilter/avcodec.c | 2 | ||||
-rw-r--r-- | libavfilter/formats.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c index 30b8258eb6..688f1b397a 100644 --- a/libavfilter/avcodec.c +++ b/libavfilter/avcodec.c @@ -62,7 +62,7 @@ int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src) dst->audio->channel_layout = src->channel_layout; dst->audio->channels = src->channels; if(src->channels < av_get_channel_layout_nb_channels(src->channel_layout)) { - av_log(0, AV_LOG_ERROR, "libavfilter does not support this channel layout\n"); + av_log(NULL, AV_LOG_ERROR, "libavfilter does not support this channel layout\n"); return AVERROR(EINVAL); } break; diff --git a/libavfilter/formats.c b/libavfilter/formats.c index be69a1a3df..ea9a184eaa 100644 --- a/libavfilter/formats.c +++ b/libavfilter/formats.c @@ -69,7 +69,7 @@ do { for (j = 0; j < b->nb; j++) \ if (a->fmts[i] == b->fmts[j]) { \ if(k >= FFMIN(a->nb, b->nb)){ \ - av_log(0, AV_LOG_ERROR, "Duplicate formats in avfilter_merge_formats() detected\n"); \ + av_log(NULL, AV_LOG_ERROR, "Duplicate formats in avfilter_merge_formats() detected\n"); \ av_free(ret->fmts); \ av_free(ret); \ return NULL; \ |