Преглед изворни кода

DShow: fix compilation after change on caching

Jean-Baptiste Kempf пре 14 година
родитељ
комит
69ec06251e
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      modules/access/dshow/dshow.cpp

+ 2 - 2
modules/access/dshow/dshow.cpp

@@ -1986,8 +1986,8 @@ static int DemuxControl( demux_t *p_demux, int i_query, va_list args )
 
     case DEMUX_GET_PTS_DELAY:
         pi64 = (int64_t*)va_arg( args, int64_t * );
-        *pi_64 =
-            INT64_C(1000) * var_InheritInteger( p_access, "live-caching" );
+        *pi64 =
+            INT64_C(1000) * var_InheritInteger( p_demux, "live-caching" );
         return VLC_SUCCESS;
 
     case DEMUX_GET_TIME: