vlc | branch: master | Tristan Matthews <[email protected]> | Tue Nov 5 17:52:11 2013 -0500| [ae247a6eea96c5f2501ddad496e98d795ab6bc62] | committer: Rafaël Carré
avcodec: remove unused variable Signed-off-by: Rafaël Carré <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ae247a6eea96c5f2501ddad496e98d795ab6bc62 --- modules/codec/avcodec/encoder.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c index 685946b..85e150d 100644 --- a/modules/codec/avcodec/encoder.c +++ b/modules/codec/avcodec/encoder.c @@ -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; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
