This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/samples/workload/wasm-av1/av1-clang.patch

20 lines
654 B
Diff
Raw Normal View History

diff --git a/test.c b/test.c
index df2d44b..520bf13 100644
--- a/test.c
+++ b/test.c
@@ -63,9 +63,14 @@ main(int argc, char *argv[]) {
static int i = 0;
++i;
+ printf("Decoding frame #%d\n", i);
if (30 <= i && i < 40) {
+ printf("Dumping frame #%d\n", i);
dump_raw_frame(af, i);
}
+ if (i >= 1000) {
+ break;
+ }
}
/*
* Run the decoder every time, so that we keep