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:
authorMichael Niedermayer <michaelni@gmx.at>2011-05-09 23:23:45 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-05-09 23:23:45 +0400
commit173544077316c448cefc79c7e595021b41249a1a (patch)
tree9ea2d9c4950e4ac3bc80e57a995dea94bcd66c1a /libavutil/fifo.c
parent38bb5a5434f913451aa512624a92b12b9925690f (diff)
fifo: use av_freep()
With this change libavutil uses av_freep() everywhere where it makes sense. Remaining av_free() use in it has the used pointer become inaccessible quickly soo zeroing makes no sense. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/fifo.c')
-rw-r--r--libavutil/fifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/fifo.c b/libavutil/fifo.c
index cfb716e53b..d10198972d 100644
--- a/libavutil/fifo.c
+++ b/libavutil/fifo.c
@@ -38,7 +38,7 @@ AVFifoBuffer *av_fifo_alloc(unsigned int size)
void av_fifo_free(AVFifoBuffer *f)
{
if(f){
- av_free(f->buffer);
+ av_freep(&f->buffer);
av_free(f);
}
}