diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-07 21:23:55 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-09-07 21:23:55 +0000 |
commit | 34017fd9b2a2a74f6b985f1ce3c5f66429f034ad (patch) | |
tree | 45e04064fccb76860adab72bacf12ba108d84ad1 /ffplay.c | |
parent | e7eb2033ffcddfa38457cba96477e15e91fbb4d1 (diff) | |
download | ffmpeg-34017fd9b2a2a74f6b985f1ce3c5f66429f034ad.tar.gz |
Move av_picture_data_copy() to libavcore, and rename it
av_image_copy().
Originally committed as revision 25067 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -28,6 +28,7 @@ #include "libavutil/avstring.h" #include "libavutil/colorspace.h" #include "libavutil/pixdesc.h" +#include "libavcore/imgutils.h" #include "libavcore/parseutils.h" #include "libavformat/avformat.h" #include "libavdevice/avdevice.h" @@ -1734,7 +1735,7 @@ static int input_request_frame(AVFilterLink *link) picref = avfilter_ref_buffer(priv->frame->opaque, ~0); } else { picref = avfilter_get_video_buffer(link, AV_PERM_WRITE, link->w, link->h); - av_picture_data_copy(picref->data, picref->linesize, + av_image_copy(picref->data, picref->linesize, priv->frame->data, priv->frame->linesize, picref->format, link->w, link->h); } |