]> git.sesse.net Git - vlc/commitdiff
avcodec: remove unused variable
authorTristan Matthews <le.businessman@gmail.com>
Tue, 5 Nov 2013 22:52:11 +0000 (17:52 -0500)
committerRafaël Carré <funman@videolan.org>
Wed, 6 Nov 2013 09:19:13 +0000 (10:19 +0100)
Signed-off-by: Rafaël Carré <funman@videolan.org>
modules/codec/avcodec/encoder.c

index 685946b2c3966e71131c66b455fea2304d458832..85e150d51558a0a89c86d66d8c28c1844a44b6ca 100644 (file)
@@ -1277,8 +1277,6 @@ static block_t *EncodeAudio( encoder_t *p_enc, block_t *p_aout_buf )
     while( ( p_aout_buf->i_nb_samples >= p_sys->i_frame_size ) ||
            ( p_sys->b_variable && p_aout_buf->i_nb_samples ) )
     {
-        AVPacket packet = {0};
-
         avcodec_get_frame_defaults( p_sys->frame );
         if( p_sys->b_variable )
             p_sys->frame->nb_samples = p_aout_buf->i_nb_samples;