]> git.sesse.net Git - vlc/commitdiff
H.264 packetizer: Drop unused variable
authorDiego Biurrun <diego@biurrun.de>
Tue, 9 Dec 2014 15:58:07 +0000 (16:58 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 9 Dec 2014 18:08:34 +0000 (19:08 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/packetizer/h264.c

index c02917120951ee5911eddc106e590c70698f7208..76f7d76da98642529b6329f7676d7a01be4c9cc5 100644 (file)
@@ -556,7 +556,6 @@ static block_t *CreateAnnexbNAL( decoder_t *p_dec, const uint8_t *p, int i_size
 static void CreateDecodedNAL( uint8_t **pp_ret, int *pi_ret,
                               const uint8_t *src, int i_src )
 {
-    const uint8_t *end = &src[i_src];
     uint8_t *dst = malloc( i_src );
 
     *pp_ret = dst;