Author: akhaldi
Date: Thu Nov 17 22:06:10 2016
New Revision: 73258
URL:
http://svn.reactos.org/svn/reactos?rev=73258&view=rev
Log:
[AVIFIL32_WINETEST] Sync with Wine Staging 1.9.23. CORE-12409
Modified:
trunk/rostests/winetests/avifil32/api.c
Modified: trunk/rostests/winetests/avifil32/api.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/avifil32/api.c?…
==============================================================================
--- trunk/rostests/winetests/avifil32/api.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/avifil32/api.c [iso-8859-1] Thu Nov 17 22:06:10 2016
@@ -377,6 +377,11 @@
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);