[vlc-commits] cvdsub: remove unused variable
Jean-Baptiste Kempf
git at videolan.org
Mon Oct 31 00:42:29 CET 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Oct 28 15:03:51 2011 +0200| [b9296a1298d5be5f486f1ef78ba31d2bccb19c35] | committer: Jean-Baptiste Kempf
cvdsub: remove unused variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b9296a1298d5be5f486f1ef78ba31d2bccb19c35
---
modules/codec/cvdsub.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/modules/codec/cvdsub.c b/modules/codec/cvdsub.c
index 9406db5..b56d7bc 100644
--- a/modules/codec/cvdsub.c
+++ b/modules/codec/cvdsub.c
@@ -214,7 +214,6 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
static block_t *Reassemble( decoder_t *p_dec, block_t *p_block )
{
decoder_sys_t *p_sys = p_dec->p_sys;
- uint8_t *p_buffer;
if( p_block->i_buffer < SPU_HEADER_LEN )
{
@@ -224,8 +223,6 @@ static block_t *Reassemble( decoder_t *p_dec, block_t *p_block )
return NULL;
}
- p_buffer = p_block->p_buffer;
-
/* From the scant data on the format, there is only only way known
* to detect the first packet in a subtitle. The first packet
* seems to have a valid PTS while later packets for the same
More information about the vlc-commits
mailing list