summaryrefslogtreecommitdiffstats
path: root/libhb/fifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/fifo.c')
-rw-r--r--libhb/fifo.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libhb/fifo.c b/libhb/fifo.c
index fe03c47f9..44c64d9b0 100644
--- a/libhb/fifo.c
+++ b/libhb/fifo.c
@@ -62,6 +62,15 @@ void hb_buffer_close( hb_buffer_t ** _b )
*_b = NULL;
}
+void hb_buffer_copy_settings( hb_buffer_t * dst, const hb_buffer_t * src )
+{
+ dst->start = src->start;
+ dst->stop = src->stop;
+ dst->new_chap = src->new_chap;
+ dst->frametype = src->frametype;
+ dst->flags = src->flags;
+}
+
/* Fifo */
struct hb_fifo_s
{