Commit 6587af3b authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Fix build of vp8.c with Visual Studio.

parent f9dc023e
......@@ -517,13 +517,13 @@ typedef struct DecState {
static void dec_init(MSFilter *f) {
DecState *s=(DecState *)ms_new(DecState,1);
ms_message("Using %s\n",vpx_codec_iface_name(interface));
vpx_codec_flags_t flags = 0/*VPX_CODEC_USE_ERROR_CONCEALMENT*/;
#ifdef FRAGMENT_ON_PARTITIONS
flags |= VPX_CODEC_USE_INPUT_FRAGMENTS;
#endif
ms_message("Using %s\n",vpx_codec_iface_name(interface));
/* Initialize codec */
if(vpx_codec_dec_init(&s->codec, interface, NULL, flags))
ms_error("Failed to initialize decoder");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment