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
- in encx264, if an video frame is larger than init_delay split it into pieces so...
[handbrake-jp/handbrake-jp-git.git]
/
libhb
/
decdca.c
diff --git
a/libhb/decdca.c
b/libhb/decdca.c
index
a326031
..
0c905af
100644
(file)
--- a/
libhb/decdca.c
+++ b/
libhb/decdca.c
@@
-113,6
+113,14
@@
static int decdcaWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
hb_work_private_t * pv = w->private_data;
hb_buffer_t * buf;
hb_work_private_t * pv = w->private_data;
hb_buffer_t * buf;
+ if ( (*buf_in)->size <= 0 )
+ {
+ /* EOF on input stream - send it downstream & say that we're done */
+ *buf_out = *buf_in;
+ *buf_in = NULL;
+ return HB_WORK_DONE;
+ }
+
hb_list_add( pv->list, *buf_in );
*buf_in = NULL;
hb_list_add( pv->list, *buf_in );
*buf_in = NULL;