Fix sout-switcher compilation
authorRémi Duraffort <ivoire@videolan.org>
Sat, 3 Sep 2011 08:34:47 +0000 (10:34 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sat, 3 Sep 2011 08:36:13 +0000 (10:36 +0200)
modules/stream_out/switcher.c

index 18f281e..ca57a28 100644 (file)
@@ -914,7 +914,6 @@ static block_t *VideoGetBuffer( sout_stream_t *p_stream, sout_stream_id_t *id,
     p_out->i_length = p_buffer->i_length;
     p_out->i_pts = p_buffer->i_dts;
     p_out->i_dts = p_buffer->i_dts;
     p_out->i_length = p_buffer->i_length;
     p_out->i_pts = p_buffer->i_dts;
     p_out->i_dts = p_buffer->i_dts;
-    p_out->i_rate = p_buffer->i_rate;
 
     switch ( id->ff_enc_c->coded_frame->pict_type )
     {
 
     switch ( id->ff_enc_c->coded_frame->pict_type )
     {
@@ -958,7 +957,6 @@ static block_t *AudioGetBuffer( sout_stream_t *p_stream, sout_stream_id_t *id,
     p_out->i_length = p_buffer->i_length;
     p_out->i_pts = p_buffer->i_dts;
     p_out->i_dts = p_buffer->i_dts;
     p_out->i_length = p_buffer->i_length;
     p_out->i_pts = p_buffer->i_dts;
     p_out->i_dts = p_buffer->i_dts;
-    p_out->i_rate = p_buffer->i_rate;
 
     block_Release( p_buffer );
 
 
     block_Release( p_buffer );