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>
This commit is contained in:
Michael Niedermayer
2012-11-23 18:10:02 +01:00
parent c322f19855
commit 0efcf16a3e
16 changed files with 22 additions and 22 deletions

View File

@@ -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) {