diff options
author | jstebbins <[email protected]> | 2011-03-27 21:09:27 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-03-27 21:09:27 +0000 |
commit | e5689e626605675ab30e8a90989ea353d0543377 (patch) | |
tree | 4be6e49002126344edcdfc217f23cb1e36cc8709 /libhb/fifo.c | |
parent | abd251048b392e86041325c1561e7a9dcd8067c3 (diff) |
Simplify a lot of subtitle handling code.
Makes it easier to read. Gets rid of some unnecessary variables.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3886 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/fifo.c')
-rw-r--r-- | libhb/fifo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/fifo.c b/libhb/fifo.c index fcb7b8366..3f0d9ea86 100644 --- a/libhb/fifo.c +++ b/libhb/fifo.c @@ -537,7 +537,7 @@ void hb_fifo_push_list_element( hb_fifo_t *fifo, hb_buffer_t *buffer_list ) hb_buffer_t *container = hb_buffer_init( 0 ); // XXX: Using an arbitrary hb_buffer_t pointer (other than 'next') // to carry the list inside a single "container" buffer - container->next_subpicture = buffer_list; + container->sub = buffer_list; hb_fifo_push( fifo, container ); } @@ -548,7 +548,7 @@ hb_buffer_t *hb_fifo_get_list_element( hb_fifo_t *fifo ) hb_buffer_t *container = hb_fifo_get( fifo ); // XXX: Using an arbitrary hb_buffer_t pointer (other than 'next') // to carry the list inside a single "container" buffer - hb_buffer_t *buffer_list = container->next_subpicture; + hb_buffer_t *buffer_list = container->sub; hb_buffer_close( &container ); return buffer_list; |