瀏覽代碼

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: