summaryrefslogtreecommitdiffstats
path: root/video/mp_image.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-09 20:50:06 +0100
committerwm4 <wm4@nowhere>2013-03-13 23:51:30 +0100
commit514d8a7c9dfde2acc89ee4d19dd9db6b9db5b882 (patch)
tree5a4eeebc797a16866a7dc4f8b846854c9a33f0b8 /video/mp_image.h
parent71b09be04056d9a505f32c71375ebc327d842ae4 (diff)
downloadmpv-514d8a7c9dfde2acc89ee4d19dd9db6b9db5b882.tar.bz2
mpv-514d8a7c9dfde2acc89ee4d19dd9db6b9db5b882.tar.xz
video: make use of libavcodec refcounting
Now lavc_dr1.c is not used anymore if libavcodec is recent enough.
Diffstat (limited to 'video/mp_image.h')
-rw-r--r--video/mp_image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/mp_image.h b/video/mp_image.h
index 3fe2429445..85adac65f0 100644
--- a/video/mp_image.h
+++ b/video/mp_image.h
@@ -130,6 +130,7 @@ void mp_image_set_colorspace_details(struct mp_image *image,
struct AVFrame;
void mp_image_copy_fields_from_av_frame(struct mp_image *dst,
struct AVFrame *src);
+struct mp_image *mp_image_from_av_frame(struct AVFrame *av_frame);
// align must be a power of two (align >= 1), v >= 0
#define MP_ALIGN_UP(v, align) FFALIGN(v, align)