]> git.sesse.net Git - vlc/commitdiff
Removed unused block_t->p_prev field.
authorLaurent Aimar <fenrir@videolan.org>
Fri, 3 Apr 2009 16:48:12 +0000 (18:48 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 3 Apr 2009 16:48:12 +0000 (18:48 +0200)
include/vlc_block.h
src/misc/block.c

index 6a9589f12973ef74a7233f710d0dc2e7c44266ab..7b1d6d017dd898361957b938ad14b16936093670 100644 (file)
@@ -95,7 +95,6 @@ typedef void (*block_free_t) (block_t *);
 struct block_t
 {
     block_t     *p_next;
-    block_t     *p_prev;
 
     uint32_t    i_flags;
 
index 3cb537581be6e99c699baa426c7ea32dc01ed50f..001ddf2c4b2d574eaf7599dae92e7336696798c1 100644 (file)
@@ -57,7 +57,7 @@ static void BlockNoRelease( block_t *b )
 void block_Init( block_t *restrict b, void *buf, size_t size )
 {
     /* Fill all fields to their default */
-    b->p_next = b->p_prev = NULL;
+    b->p_next = NULL;
     b->i_flags = 0;
     b->i_pts = b->i_dts = b->i_length = 0;
     b->i_rate = 0;