[vlc-commits] demux: ogg: remove unused variable

Tristan Matthews git at videolan.org
Tue Jan 28 08:43:52 CET 2014


vlc | branch: master | Tristan Matthews <le.businessman at gmail.com> | Tue Jan 28 02:40:02 2014 -0500| [b1c07e979ce44728c203bbf394ba6389b1673ead] | committer: Tristan Matthews

demux: ogg: remove unused variable

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

 modules/demux/ogg.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 4af503b..3270b48 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -963,7 +963,7 @@ static void Ogg_DecodePacket( demux_t *p_demux,
     block_t *p_block;
     bool b_selected;
     int i_header_len = 0;
-    mtime_t i_pts = VLC_TS_UNKNOWN, i_interpolated_pts;
+    mtime_t i_pts = VLC_TS_UNKNOWN;
     demux_sys_t *p_ogg = p_demux->p_sys;
 
     if( p_oggpacket->bytes >= 7 &&
@@ -1133,7 +1133,6 @@ static void Ogg_DecodePacket( demux_t *p_demux,
     }
 
     /* Convert the granulepos into the next pcr */
-    i_interpolated_pts = p_stream->i_interpolated_pcr;
     Ogg_UpdatePCR( p_demux, p_stream, p_oggpacket );
 
     if( p_stream->fmt.i_codec != VLC_CODEC_VORBIS &&



More information about the vlc-commits mailing list