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
Successfully create MP4 files bigger than 4GB
[handbrake-jp/handbrake-jp-git.git]
/
libhb
/
fifo.c
diff --git
a/libhb/fifo.c
b/libhb/fifo.c
index
93e3e16
..
3234065
100644
(file)
--- a/
libhb/fifo.c
+++ b/
libhb/fifo.c
@@
-22,6
+22,8
@@
hb_buffer_t * hb_buffer_init( int size )
b->alloc = size;
b->size = size;
+ if (!size)
+ return b;
#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD )
b->data = malloc( size );
#elif defined( SYS_CYGWIN )