[vlc-devel] [PATCH] avcodec: remove unused variable
Tristan Matthews
le.businessman at gmail.com
Tue Nov 5 23:52:11 CET 2013
---
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;
--
1.8.3.1
More information about the vlc-devel
mailing list