Commit 48e9a933 authored by Jerome Wu's avatar Jerome Wu

Update avi path in ffmpeg.js

parent 4c807f78
...@@ -2,7 +2,7 @@ const fs = require('fs'); ...@@ -2,7 +2,7 @@ const fs = require('fs');
const Module = require('./dist/ffmpeg-core'); const Module = require('./dist/ffmpeg-core');
Module.onRuntimeInitialized = () => { Module.onRuntimeInitialized = () => {
const data = Uint8Array.from(fs.readFileSync('../testdata/flame.avi')); const data = Uint8Array.from(fs.readFileSync('tests/data/flame.avi'));
Module.FS.writeFile('flame.avi', data); Module.FS.writeFile('flame.avi', data);
const ffmpeg = Module.cwrap('proxy_main', 'number', ['number', 'number']); const ffmpeg = Module.cwrap('proxy_main', 'number', ['number', 'number']);
......
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