]> git.sesse.net Git - vlc/blobdiff - include/vlc_vout.h
Check asprintf return value and fix a potential memleak.
[vlc] / include / vlc_vout.h
index 0e1a1650397546d398e4e437cf613973f85d38d3..f95805510aa107b1b89321cc93beed457eef1292 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#if !defined( __LIBVLC__ )
-  #error You are not libvlc or one of its plugins. You cannot include this file
-#endif
-
 #ifndef _VLC_VOUT_H_
 #define _VLC_VOUT_H_ 1
 
@@ -403,8 +399,7 @@ struct vout_thread_t
     unsigned int        i_par_num;           /**< monitor pixel aspect-ratio */
     unsigned int        i_par_den;           /**< monitor pixel aspect-ratio */
 
-    intf_thread_t       *p_parent_intf;   /**< parent interface for embedded
-                                                               vout (if any) */
+    struct vout_window_t *p_window;   /**< window for embedded vout (if any) */
     /**@}*/
 
     /** \name Plugin used and shortcuts to access its capabilities */