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 /libavcodec/ivi_common.c | |
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 'libavcodec/ivi_common.c')
-rw-r--r-- | libavcodec/ivi_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ivi_common.c b/libavcodec/ivi_common.c index 6cb4ea274a..c20ce77b3b 100644 --- a/libavcodec/ivi_common.c +++ b/libavcodec/ivi_common.c @@ -311,7 +311,7 @@ av_cold int ff_ivi_init_tiles(IVIPlaneDesc *planes, int tile_width, int tile_hei if (tile->num_MBs <= ref_tile->num_MBs) { tile->ref_mbs = ref_tile->mbs; }else - av_log(0, AV_LOG_DEBUG, "Cannot use ref_tile, too few mbs\n"); + av_log(NULL, AV_LOG_DEBUG, "Cannot use ref_tile, too few mbs\n"); ref_tile++; } @@ -466,7 +466,7 @@ int ff_ivi_decode_blocks(GetBitContext *gb, IVIBandDesc *band, IVITile *tile) col_flags[0] |= !!prev_dc; } if(band->transform_size > band->blk_size){ - av_log(0, AV_LOG_ERROR, "Too large transform\n"); + av_log(NULL, AV_LOG_ERROR, "Too large transform\n"); return AVERROR_INVALIDDATA; } /* apply inverse transform */ |