]> git.sesse.net Git - vlc/commitdiff
Mpeg mux: fix compilation
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 19 Feb 2015 13:48:48 +0000 (14:48 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 19 Feb 2015 13:48:48 +0000 (14:48 +0100)
modules/mux/mpeg/tables.c

index 82821c129eda032ce078df0a904321a199305704..01a7c68852b005ab593b82c15df0a861abb28905 100644 (file)
@@ -94,7 +94,7 @@ void BuildPAT( DVBPSI_HANDLE_PARAM(dvbpsi_t *p_dvbpsi)
 #if (DVBPSI_VERSION_INT >= DVBPSI_VERSION_WANTED(1,0,0))
     p_section = dvbpsi_pat_sections_generate( p_dvbpsi, &patpsi, 0 );
 #else
-    p_section = dvbpsi_GenPATSections( &pat, 0 /* max program per section */ );
+    p_section = dvbpsi_GenPATSections( &patpsi, 0 /* max program per section */ );
 #endif
     block_t *p_block = WritePSISection( p_section );