OSDN Git Service
(root)
/
handbrake-jp
/
handbrake-jp-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mkv soft subtitle support
[handbrake-jp/handbrake-jp-git.git]
/
libhb
/
fifo.c
diff --git
a/libhb/fifo.c
b/libhb/fifo.c
index
c756f56
..
7337874
100644
(file)
--- a/
libhb/fifo.c
+++ b/
libhb/fifo.c
@@
-191,6
+191,7
@@
void hb_buffer_close( hb_buffer_t ** _b )
if( buffer_pool && b->data && !hb_fifo_is_full( buffer_pool ) )
{
hb_fifo_push_head( buffer_pool, b );
+ *_b = NULL;
return;
}
/* either the pool is full or this size doesn't use a pool - free the buf */