Originally committed as revision 25068 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Stefano Sabatini 14 years ago
parent 34017fd9b2
commit 4afbcf46c9
  1. 4
      ffplay.c
  2. 2
      libavcodec/imgconvert.c
  3. 4
      libavfilter/vsrc_buffer.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);

@ -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 */

@ -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;

Loading…
Cancel
Save