Commit 2ebc21a4 authored by Laurent Aimar's avatar Laurent Aimar

Removed unused block_t->p_prev field.

parent 7389caa4
...@@ -95,7 +95,6 @@ typedef void (*block_free_t) (block_t *); ...@@ -95,7 +95,6 @@ typedef void (*block_free_t) (block_t *);
struct block_t struct block_t
{ {
block_t *p_next; block_t *p_next;
block_t *p_prev;
uint32_t i_flags; uint32_t i_flags;
......
...@@ -57,7 +57,7 @@ static void BlockNoRelease( block_t *b ) ...@@ -57,7 +57,7 @@ static void BlockNoRelease( block_t *b )
void block_Init( block_t *restrict b, void *buf, size_t size ) void block_Init( block_t *restrict b, void *buf, size_t size )
{ {
/* Fill all fields to their default */ /* Fill all fields to their default */
b->p_next = b->p_prev = NULL; b->p_next = NULL;
b->i_flags = 0; b->i_flags = 0;
b->i_pts = b->i_dts = b->i_length = 0; b->i_pts = b->i_dts = b->i_length = 0;
b->i_rate = 0; b->i_rate = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment