summaryrefslogtreecommitdiffstats
path: root/video/mp_image.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-15 15:48:02 +0200
committerwm4 <wm4@nowhere>2016-04-15 15:48:02 +0200
commit050b17ca9ced0811aeeb27f8ad628954d1f146cd (patch)
tree2d81804e243e86b4289f0869777ce028fee2f8cb /video/mp_image.h
parenta77cbc504ac3ff359d4c029e3c1b34581e7c7caa (diff)
downloadmpv-050b17ca9ced0811aeeb27f8ad628954d1f146cd.tar.bz2
mpv-050b17ca9ced0811aeeb27f8ad628954d1f146cd.tar.xz
mp_image: make mp_image_copy_fields_* private
Future code should always use mp_image_{to,from}_av_frame(). Everything else is way too messy and fragile.
Diffstat (limited to 'video/mp_image.h')
-rw-r--r--video/mp_image.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/mp_image.h b/video/mp_image.h
index c808b5cf07..ef55dc5478 100644
--- a/video/mp_image.h
+++ b/video/mp_image.h
@@ -154,10 +154,6 @@ void mp_image_set_attributes(struct mp_image *image,
const struct mp_image_params *params);
struct AVFrame;
-void mp_image_copy_fields_from_av_frame(struct mp_image *dst,
- struct AVFrame *src);
-void mp_image_copy_fields_to_av_frame(struct AVFrame *dst,
- struct mp_image *src);
struct mp_image *mp_image_from_av_frame(struct AVFrame *av_frame);
struct AVFrame *mp_image_to_av_frame(struct mp_image *img);
struct AVFrame *mp_image_to_av_frame_and_unref(struct mp_image *img);