aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-07 21:23:55 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-07 21:23:55 +0000
commit34017fd9b2a2a74f6b985f1ce3c5f66429f034ad (patch)
tree45e04064fccb76860adab72bacf12ba108d84ad1 /ffplay.c
parente7eb2033ffcddfa38457cba96477e15e91fbb4d1 (diff)
downloadffmpeg-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 56b39d2f4b..4383d60a2e 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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);
}