vlc | branch: master | Steve Lhomme <[email protected]> | Thu May  3 17:45:44 
2018 +0200| [e95c409265ac6239dd8d5617e184cb0dfacc4fd2] | committer: Rémi 
Denis-Courmont

demux:ogg: remove dead code

it's exactly the same tests as the other part of the else

Signed-off-by: Rémi Denis-Courmont <[email protected]>

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

 modules/demux/ogg.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 50c069ceda..6601dbdfb9 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -1198,10 +1198,6 @@ static void Ogg_SendOrQueueBlocks( demux_t *p_demux, 
logical_stream_t *p_stream,
                     block_Release( tosend );
                     continue;
                 }
-                else if( tosend->i_dts < VLC_TS_0 )
-                {
-                    tosend->i_dts = tosend->i_pts;
-                }
 
                 DemuxDebug( msg_Dbg( p_demux, "block sent from preparse > dts 
%"PRId64" pts %"PRId64" spcr %"PRId64" pcr %"PRId64,
                          tosend->i_dts, tosend->i_pts, p_stream->i_pcr, 
p_ogg->i_pcr ); )

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to