Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-08-13 21:13:04 +0400
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-08-30 12:03:13 +0400
commitbf917e26e161b9f08bdc8749ae034c28adc45ba0 (patch)
tree1d55c7dc4789782ace538bceb92d77f2ebfbe03c /libavutil
parent0629b1ff356b5cebebd6949c4b4b965b68121e97 (diff)
fifo: add note in av_fifo_realloc2() doxy regarding reallocation failure behavior
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/fifo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/fifo.h b/libavutil/fifo.h
index e1766ef322..22a9aa5d18 100644
--- a/libavutil/fifo.h
+++ b/libavutil/fifo.h
@@ -94,6 +94,8 @@ int av_fifo_generic_write(AVFifoBuffer *f, void *src, int size, int (*func)(void
/**
* Resize an AVFifoBuffer.
+ * In case of reallocation failure, the old FIFO is kept unchanged.
+ *
* @param f AVFifoBuffer to resize
* @param size new AVFifoBuffer size in bytes
* @return <0 for failure, >=0 otherwise