src_movie: Fix incompatible pointer type warning.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-10-19 00:03:56 +02:00
parent 5ed20cfeaf
commit e73cc2819e
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ static int movie_get_frame(AVFilterLink *outlink)
movie->picref = avfilter_get_video_buffer(outlink, AV_PERM_WRITE | AV_PERM_PRESERVE |
AV_PERM_REUSE2, outlink->w, outlink->h);
av_image_copy(movie->picref->data, movie->picref->linesize,
movie->frame->data, movie->frame->linesize,
(void*)movie->frame->data, movie->frame->linesize,
movie->picref->format, outlink->w, outlink->h);
avfilter_copy_frame_props(movie->picref, movie->frame);