]> granicus.if.org Git - libvpx/commit
vpx_dec_fuzzer: Remove fmemopen dependency
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>
Fri, 14 Jun 2019 18:08:36 +0000 (11:08 -0700)
committerHarish Mahendrakar <harish.mahendrakar@ittiam.com>
Fri, 14 Jun 2019 18:08:36 +0000 (11:08 -0700)
commit75b0abefd8ead6954cadf8e5bab498f39f25c846
tree4b7f2da724bb8bb4d87f10412b69c2a5baf2321e
parentcb2edce5e2632dfb44bc638094d1fe294caff50b
vpx_dec_fuzzer: Remove fmemopen dependency

fmemopen is not preferred during fuzzing.
Removed all file operations.

Removed need for allocating a different input buffer.
data buffer is appropriately incremented and passed directly to decoder
This will also test input being sent in an unaligned buffer to the library.

Removed read_frame function and did the required parsing inline.

Change-Id: I32829b0149dba9339f2e8bb4c0249a4987a630c7
examples/vpx_dec_fuzzer.cc