[vlc-commits] avcodec: remove unused variable
Tristan Matthews
git at videolan.org
Wed Nov 6 10:25:24 CET 2013
vlc | branch: master | Tristan Matthews <le.businessman at gmail.com> | Tue Nov 5 17:52:11 2013 -0500| [ae247a6eea96c5f2501ddad496e98d795ab6bc62] | committer: Rafaël Carré
avcodec: remove unused variable
Signed-off-by: Rafaël Carré <funman at videolan.org>
> 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;
More information about the vlc-commits
mailing list