fuzzer: Might work better with a pipeline ...
authorEdward Hervey <bilboed@bilboed.com>
Tue, 31 Oct 2017 07:12:43 +0000 (08:12 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 31 Oct 2017 07:12:43 +0000 (08:12 +0100)
fuzzing/typefind.c

index c783e50..780a4a9 100644 (file)
@@ -66,6 +66,7 @@ LLVMFuzzerTestOneInput (const guint8 * data, size_t size)
   }
 
   /* Create the pipeline */
+  pipeline = gst_pipeline_new ("pipeline");
   source = gst_element_factory_make ("appsrc", "source");
   typefind = gst_element_factory_make ("typefind", "typefind");
   fakesink = gst_element_factory_make ("fakesink", "fakesink");