projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c2925f
)
[AVIFIL32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
author
Amine Khaldi
<amine.khaldi@reactos.org>
Thu, 17 Nov 2016 22:06:10 +0000
(22:06 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Thu, 17 Nov 2016 22:06:10 +0000
(22:06 +0000)
svn path=/trunk/; revision=73258
rostests/winetests/avifil32/api.c
patch
|
blob
|
history
diff --git
a/rostests/winetests/avifil32/api.c
b/rostests/winetests/avifil32/api.c
index
6ea8e0e
..
64c9804
100644
(file)
--- a/
rostests/winetests/avifil32/api.c
+++ b/
rostests/winetests/avifil32/api.c
@@
-377,6
+377,11
@@
static void test_default_data(void)
res = AVIFileOpenA(&pFile, filename, OF_SHARE_DENY_WRITE, 0L);
ok(res == 0, "Unable to open file: error=%u\n", res);
+ pStream0 = (void *)0xdeadbeef;
+ res = AVIFileGetStream(pFile, &pStream0, ~0, 0);
+ ok(res == AVIERR_NODATA, "expected AVIERR_NODATA, got %#x\n", res);
+ ok(pStream0 == NULL, "AVIFileGetStream should set stream to NULL\n");
+
res = AVIFileGetStream(pFile, &pStream0, 0, 0);
ok(res == 0, "Unable to open video stream: error=%u\n", res);