diff --git a/ffplay.c b/ffplay.c index 4383d60a2e..c85c9ddc1a 100644 --- a/ffplay.c +++ b/ffplay.c @@ -1736,8 +1736,8 @@ static int input_request_frame(AVFilterLink *link) } else { picref = avfilter_get_video_buffer(link, AV_PERM_WRITE, link->w, link->h); av_image_copy(picref->data, picref->linesize, - priv->frame->data, priv->frame->linesize, - picref->format, link->w, link->h); + priv->frame->data, priv->frame->linesize, + picref->format, link->w, link->h); } av_free_packet(&pkt); diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 43b50d3f31..525ae1b61f 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -807,7 +807,7 @@ void av_picture_copy(AVPicture *dst, const AVPicture *src, enum PixelFormat pix_fmt, int width, int height) { av_image_copy(dst->data, dst->linesize, src->data, - src->linesize, pix_fmt, width, height); + src->linesize, pix_fmt, width, height); } /* 2x2 -> 1x1 */ diff --git a/libavfilter/vsrc_buffer.c b/libavfilter/vsrc_buffer.c index 12302423b0..fa9d1352ae 100644 --- a/libavfilter/vsrc_buffer.c +++ b/libavfilter/vsrc_buffer.c @@ -120,8 +120,8 @@ static int request_frame(AVFilterLink *link) link->w, link->h); av_image_copy(picref->data, picref->linesize, - c->frame.data, c->frame.linesize, - picref->format, link->w, link->h); + c->frame.data, c->frame.linesize, + picref->format, link->w, link->h); picref->pts = c->pts; picref->video->pixel_aspect = c->pixel_aspect;