summaryrefslogtreecommitdiff
path: root/libavcodec/ivi_common.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/ivi_common.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 'libavcodec/ivi_common.c')
-rw-r--r--libavcodec/ivi_common.c4
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 */