[vlc-devel] commit: Removed unused block_t->p_prev field. (Laurent Aimar )

git version control git at videolan.org
Fri Apr 3 19:13:51 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Apr  3 18:48:12 2009 +0200| [2ebc21a48f9956c48f4111ed67b0e43fe5a52a48] | committer: Laurent Aimar 

Removed unused block_t->p_prev field.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2ebc21a48f9956c48f4111ed67b0e43fe5a52a48
---

 include/vlc_block.h |    1 -
 src/misc/block.c    |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/include/vlc_block.h b/include/vlc_block.h
index 6a9589f..7b1d6d0 100644
--- a/include/vlc_block.h
+++ b/include/vlc_block.h
@@ -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;
 
diff --git a/src/misc/block.c b/src/misc/block.c
index 3cb5375..001ddf2 100644
--- a/src/misc/block.c
+++ b/src/misc/block.c
@@ -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;




More information about the vlc-devel mailing list