[vlc-commits] fix unused variable warning
Rafaël Carré
git at videolan.org
Sun Nov 13 23:25:38 CET 2011
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Nov 13 17:25:22 2011 -0500| [4afbc70ab848078c18fff9340e544e5838fadc68] | committer: Rafaël Carré
fix unused variable warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4afbc70ab848078c18fff9340e544e5838fadc68
---
modules/packetizer/h264.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/packetizer/h264.c b/modules/packetizer/h264.c
index 8675bf0..3e27a68 100644
--- a/modules/packetizer/h264.c
+++ b/modules/packetizer/h264.c
@@ -1034,7 +1034,7 @@ static void ParseSlice( decoder_t *p_dec, bool *pb_new_picture, slice_t *p_slice
decoder_sys_t *p_sys = p_dec->p_sys;
uint8_t *pb_dec;
int i_dec;
- int i_first_mb, i_slice_type;
+ int i_slice_type;
slice_t slice;
bs_t s;
@@ -1044,7 +1044,7 @@ static void ParseSlice( decoder_t *p_dec, bool *pb_new_picture, slice_t *p_slice
bs_init( &s, pb_dec, i_dec );
/* first_mb_in_slice */
- i_first_mb = bs_read_ue( &s );
+ /* int i_first_mb = */ bs_read_ue( &s );
/* slice_type */
switch( (i_slice_type = bs_read_ue( &s )) )
More information about the vlc-commits
mailing list