OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0629b1f
)
fifo: add note in av_fifo_realloc2() doxy regarding reallocation failure behavior
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Sat, 13 Aug 2011 17:13:04 +0000
(19:13 +0200)
committer
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Tue, 30 Aug 2011 08:03:13 +0000
(10:03 +0200)
libavutil/fifo.h
patch
|
blob
|
history
diff --git
a/libavutil/fifo.h
b/libavutil/fifo.h
index
e1766ef
..
22a9aa5
100644
(file)
--- 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