aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/buffer.h
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki@gmail.com>2014-03-02 17:47:19 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-06 03:23:40 +0100
commitbba7b6fc41057d4aec6b1f0e12240db56fe6e9b6 (patch)
tree360c04e1cd03337303550760b63ddc05a58c697b /libavutil/buffer.h
parentc832bf0c38a36698684971eca5f779d115b01976 (diff)
downloadffmpeg-bba7b6fc41057d4aec6b1f0e12240db56fe6e9b6.tar.gz
Revert "lavu/buffer: add release function"
This reverts commit 3144440004941aa22ffea9933f5e5dfe826df654. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/buffer.h')
-rw-r--r--libavutil/buffer.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/libavutil/buffer.h b/libavutil/buffer.h
index 8cf2cbf302..b4399fd39f 100644
--- a/libavutil/buffer.h
+++ b/libavutil/buffer.h
@@ -155,18 +155,6 @@ AVBufferRef *av_buffer_ref(AVBufferRef *buf);
void av_buffer_unref(AVBufferRef **buf);
/**
- * Free a given reference and pass underlaying data to user provided pointer.
- * If there is more than one reference then data is copied.
- *
- * @param buf the reference to be released. The pointer is set to NULL on return.
- * @param data pointer to be passed with underlaying data.
- * @return 0 on success, a negative AVERROR on failure.
- *
- * @note on error buffer is properly released and *data is set to NULL.
- */
-int av_buffer_release(AVBufferRef **buf, uint8_t **data);
-
-/**
* @return 1 if the caller may write to the data referred to by buf (which is
* true if and only if buf is the only reference to the underlying AVBuffer).
* Return 0 otherwise.