diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-12-27 09:01:38 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-01-29 07:31:24 +0100 |
commit | e6da5d215b1f2267bfdbb83028f2c1b63434edad (patch) | |
tree | ba0e2daeaf4925af785f02536047dc397f86c9d5 /libavcodec | |
parent | 30d62507cd9cc2e5d312af476036c9bce2f2bd00 (diff) | |
download | ffmpeg-e6da5d215b1f2267bfdbb83028f2c1b63434edad.tar.gz |
mimic: remove a pointless cast.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mimic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c index 9a4aa3dc53..8ab1c9e985 100644 --- a/libavcodec/mimic.c +++ b/libavcodec/mimic.c @@ -297,7 +297,7 @@ static int decode(MimicContext *ctx, int quality, int num_coeffs, * Flip the buffer upside-down and put it in the YVU order to match the * way Mimic encodes frames. */ -static void prepare_avpic(MimicContext *ctx, AVPicture *dst, AVPicture *src) +static void prepare_avpic(MimicContext *ctx, AVPicture *dst, AVFrame *src) { int i; dst->data[0] = src->data[0] + ( ctx->avctx->height - 1) * src->linesize[0]; @@ -374,7 +374,7 @@ static int mimic_decode_frame(AVCodecContext *avctx, void *data, ctx->next_cur_index = (ctx->cur_index - 1) & 15; prepare_avpic(ctx, &ctx->flipped_ptrs[ctx->cur_index], - (AVPicture*) &ctx->buf_ptrs[ctx->cur_index]); + &ctx->buf_ptrs[ctx->cur_index]); ff_thread_finish_setup(avctx); |