diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-10-24 11:54:03 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-26 18:28:38 +0200 |
commit | 87cdd7c6949e0166a22b558e0657ac277c95d452 (patch) | |
tree | b440ad598b1d3511d2607aa41290dab4e20deeed | |
parent | 707f58f515eeb282563af3c443cac10c2d3e81b4 (diff) | |
download | ffmpeg-87cdd7c6949e0166a22b558e0657ac277c95d452.tar.gz |
ivi_common: Drop unused function parameter from decode_band()
-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 149fffe34f..85661281ad 100644 --- a/libavcodec/ivi_common.c +++ b/libavcodec/ivi_common.c @@ -644,7 +644,7 @@ void ff_ivi_output_plane(IVIPlaneDesc *plane, uint8_t *dst, int dst_pitch) * @param[in] avctx ptr to the AVCodecContext * @return result code: 0 = OK, -1 = error */ -static int decode_band(IVI45DecContext *ctx, int plane_num, +static int decode_band(IVI45DecContext *ctx, IVIBandDesc *band, AVCodecContext *avctx) { int result, i, t, idx1, idx2, pos; @@ -775,7 +775,7 @@ int ff_ivi_decode_frame(AVCodecContext *avctx, void *data, int *data_size, if (ctx->is_nonnull_frame(ctx)) { for (p = 0; p < 3; p++) { for (b = 0; b < ctx->planes[p].num_bands; b++) { - result = decode_band(ctx, p, &ctx->planes[p].bands[b], avctx); + result = decode_band(ctx, &ctx->planes[p].bands[b], avctx); if (result) { av_log(avctx, AV_LOG_ERROR, "Error while decoding band: %d, plane: %d\n", b, p); |