aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/frame.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-02-19 20:11:21 +0100
committerAnton Khirnov <anton@khirnov.net>2014-03-24 06:07:51 +0100
commitd161ae0a37900cbd36c1390ca32a56b892c02ab5 (patch)
tree98e95976af28331c04fda86f3a76102b62148820 /libavutil/frame.h
parent59444c76e6d43529a12dbd80b6dd29c6ba4079a9 (diff)
downloadffmpeg-d161ae0a37900cbd36c1390ca32a56b892c02ab5.tar.gz
frame: add a function for removing side data from a frame
Diffstat (limited to 'libavutil/frame.h')
-rw-r--r--libavutil/frame.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h
index e9bc6aeb40..3bec8e5948 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -563,6 +563,12 @@ AVFrameSideData *av_frame_get_side_data(const AVFrame *frame,
enum AVFrameSideDataType type);
/**
+ * If side data of the supplied type exists in the frame, free it and remove it
+ * from the frame.
+ */
+void av_frame_remove_side_data(AVFrame *frame, enum AVFrameSideDataType type);
+
+/**
* @}
*/