]> git.sesse.net Git - vlc/blobdiff - modules/demux/vc1.c
Fix segfault when closing http interface.
[vlc] / modules / demux / vc1.c
index 8c3af591962a6efe26fcc7bc1bd0a0f4b8ae88d4..032eca4fe4064680168cd4b800dbe6fced810bd1 100644 (file)
@@ -32,7 +32,7 @@
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_demux.h>
-#include "vlc_codec.h"
+#include <vlc_codec.h>
 
 /*****************************************************************************
  * Module descriptor
@@ -106,7 +106,7 @@ static int Open( vlc_object_t * p_this )
         p_sys->f_fps = 0.0;
 
     /* Load the packetizer */
-    es_format_Init( &fmt, VIDEO_ES, VLC_FOURCC( 'W', 'V', 'C', '1' ) );
+    es_format_Init( &fmt, VIDEO_ES, VLC_CODEC_VC1 );
     p_sys->p_packetizer = demux_PacketizerNew( p_demux, &fmt, "VC-1" );
     if( !p_sys->p_packetizer )
     {