[vlc-commits] access: dvdnav: missing vlc_object cast

Francois Cartegnie git at videolan.org
Tue Apr 14 15:15:51 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Apr 14 15:15:26 2015 +0200| [972e1f8c015157cfdd3f4829c82474db1b067cde] | committer: Francois Cartegnie

access: dvdnav: missing vlc_object cast

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

 modules/access/dvdnav.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c
index 236b970..8f8d165 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -1354,7 +1354,7 @@ static int DemuxBlock( demux_t *p_demux, const uint8_t *p, int len )
                     ESNew( p_demux, i_id );
                 }
                 if( tk->b_seen && tk->es &&
-                    !ps_pkt_parse_pes( p_demux, p_pkt, tk->i_skip ) )
+                    !ps_pkt_parse_pes( VLC_OBJECT(p_demux), p_pkt, tk->i_skip ) )
                 {
                     es_out_Send( p_demux->out, tk->es, p_pkt );
                 }



More information about the vlc-commits mailing list