[vlc-commits] Fix code indentation

Jean-Baptiste Kempf git at videolan.org
Thu Oct 25 16:22:11 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Oct 25 16:21:18 2012 +0200| [9fc6fc4b876caf1c51eb5780dc16998b46ea3b99] | committer: Jean-Baptiste Kempf

Fix code indentation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9fc6fc4b876caf1c51eb5780dc16998b46ea3b99
---

 modules/codec/avcodec/encoder.c |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index 1248741..37d0d05 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -1035,14 +1035,14 @@ static block_t *EncodeAudio( encoder_t *p_enc, block_t *p_aout_buf )
     {
         msg_Dbg(p_enc,"Flushing..");
         do {
-        p_block = block_New( p_enc, p_sys->i_buffer_out );
-        av_init_packet( &packet );
-        packet.data = p_block->p_buffer;
-        packet.size = p_block->i_buffer;
-
-        i_out = avcodec_encode_audio2( p_sys->p_context, &packet, NULL, &got_packet );
-        if( !i_out && got_packet )
-            block_ChainAppend( &p_chain, p_block );
+            p_block = block_New( p_enc, p_sys->i_buffer_out );
+            av_init_packet( &packet );
+            packet.data = p_block->p_buffer;
+            packet.size = p_block->i_buffer;
+
+            i_out = avcodec_encode_audio2( p_sys->p_context, &packet, NULL, &got_packet );
+            if( !i_out && got_packet )
+                block_ChainAppend( &p_chain, p_block );
         } while( got_packet && !i_out );
         return p_chain;
     }



More information about the vlc-commits mailing list