Revision 34017fd9 ffplay.c

View differences:

ffplay.c
28 28
#include "libavutil/avstring.h"
29 29
#include "libavutil/colorspace.h"
30 30
#include "libavutil/pixdesc.h"
31
#include "libavcore/imgutils.h"
31 32
#include "libavcore/parseutils.h"
32 33
#include "libavformat/avformat.h"
33 34
#include "libavdevice/avdevice.h"
......
1734 1735
        picref = avfilter_ref_buffer(priv->frame->opaque, ~0);
1735 1736
    } else {
1736 1737
        picref = avfilter_get_video_buffer(link, AV_PERM_WRITE, link->w, link->h);
1737
        av_picture_data_copy(picref->data, picref->linesize,
1738
        av_image_copy(picref->data, picref->linesize,
1738 1739
                             priv->frame->data, priv->frame->linesize,
1739 1740
                             picref->format, link->w, link->h);
1740 1741
    }

Also available in: Unified diff