Commit Graph

382 Commits

Author SHA1 Message Date
Nikolay Sivov 7675ce7550 avifil32: Remove some redundant statements.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-26 11:25:17 +01:00
Michael Stefaniuc 78c49a4d32 avifil32: Use SetRectEmpty() instead of memset().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 09:11:49 +02:00
André Hentschel 349a80e076 avifil32: Fix AVIStreamReadFormat spec file entry.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 21:38:51 +01:00
Dmitry Timoshkov 7ee4021694 avifil32: AVIFileGetStream should set stream to NULL in case of an error.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-30 13:05:13 +01:00
Michael Stefaniuc b7b031aa43 avifil32: Avoid a cast from a COM object to an iface.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 20:18:00 +09:00
Andrey Gusev e9907520b8 avifil32: Use debugstr_guid() in TRACE() message.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 23:04:46 +09:00
Michael Stefaniuc d13dde18fa avifil32: Avoid casts from COM objects to ifaces.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 21:38:09 +09:00
Michael Stefaniuc 06744904dd avifil32/tests: Add some basic COM tests for AVIEditStream.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 21:38:04 +09:00
Michael Stefaniuc f68a760a63 avifil32: Avoid casts of IAVIEditStream to the COM object.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 21:37:59 +09:00
Michael Stefaniuc a0b7eb0d3e avifil32: Move CreateEditableStream() to avoid exporting a helper.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 21:37:50 +09:00
Michael Stefaniuc 5dc2626ba4 avifil32: Avoid using the LPCLASSFACTORY COM iface type.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 11:12:35 +09:00
Michael Stefaniuc 00de4b59d1 avifil32: Clean up the IClassFactory creation.
Also move it to avoid forward declarations of the IClassFactory methods.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 11:12:31 +09:00
Michael Stefaniuc 72175acdd1 avifil32: Use atomic operations to manipulate the refcount.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 11:12:25 +09:00
Michael Stefaniuc e8a2a68f59 avifil32: Avoid using CopyRect().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 22:16:34 +09:00
Nikolay Sivov 94c1c8e504 avifil32: Use matching buffer length for dest string (Coverity).
Reported issue is about potential overflow when copying to fixed size
buffer from larger source buffer

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-11 20:22:12 +09:00
Sebastian Lackner ec010ce361 avifil32/tests: Remove a couple of unnecessary tests.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 20:26:10 +09:00
Nikolay Sivov 509831c027 avifil32: Use typed pointers in sizeof() and va_arg() (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-11 19:54:15 +09:00
Nikolay Sivov 82a9faae2c avifil32: Use __ms_va* varargs variant for AVISave[A,W].
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:48 +09:00
Bruno Jesus a9522d52fe avifil32: Implement AVISave[A|W] by forwarding to AVISaveV.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:03:38 +09:00
Bruno Jesus 175138a42c avifil32: Absolute addresses already point to the correct place in the frame.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-19 20:58:32 +09:00
Francois Gouget f8a7d6ed74 Assorted spelling fixes. 2015-08-07 23:50:48 +09:00
Nikolay Sivov cd4a1ea922 avifil32: Return interface pointer from QI instead of impl pointer. 2015-03-20 17:39:37 +09:00
Bruno Jesus d28c40da3b avifil32: Remove the 1024 frame limit when recording AVI files. 2014-12-31 11:45:00 +01:00
Michael Stefaniuc 4517780988 avifil32: Simplify the check for an empty string (PVS-Studio). 2014-11-13 18:46:39 +09:00
André Hentschel 066fd36ec3 avifil32: Simplify comparing two unsigned ints (PVS-Studio). 2014-11-12 21:11:47 +09:00
Michael Stefaniuc 2bf09a9d25 avifil32: Simplify comparing two unsigned ints (PVS-Studio). 2014-10-28 13:52:32 +09:00
Dmitry Timoshkov 2886471db1 avifil32: Use correct AddRef helpers. 2014-04-08 09:25:59 +02:00
Michael Stefaniuc 9f2f30c412 avifil32: Avoid forward declarations of COM methods. 2014-03-04 11:49:34 +01:00
Michael Stefaniuc 5c12f6bdc9 avifil32: Merge IAVIStream into the WAVFile object. 2014-03-04 11:49:32 +01:00
Michael Stefaniuc fbd740b7b1 avifil32: Merge IPersistFile into the WAVFile object. 2014-03-04 11:49:30 +01:00
Michael Stefaniuc b1c6d5b111 avifil32/tests: Add WAVFile COM tests. 2014-03-04 11:49:28 +01:00
Michael Stefaniuc 8e9cacf099 avifil32: Support COM aggregation in WAVFile. 2014-03-04 11:49:26 +01:00
Michael Stefaniuc 3815c1e9b6 avifil32: Unconditionally support IAVIStream in WAVFile. 2014-03-04 11:49:24 +01:00
Michael Stefaniuc d1bbb471e8 avifil32: Basic COM cleanup for IAVIFile from WAVFile. 2014-03-04 11:49:22 +01:00
Frédéric Delanoy b26c439150 avifil32: Use BOOL type where appropriate. 2014-02-25 14:21:41 -06:00
Andrey Gusev be367393c9 Assorted typos fixes. 2014-01-13 17:37:42 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Frédéric Delanoy da6c728195 Assorted spelling fixes. 2013-11-07 19:01:20 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Frédéric Delanoy 4473ce4db9 Assorted spelling fixes. 2013-10-30 09:46:27 +01:00
Nikolay Sivov 9273a6715f avifil32/tests: Compile with -D__WINESRC__. 2013-10-15 14:28:20 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc 11b21f70ab avifil32: Move the IAVIStream vtbl to avoid forward declarations. 2013-09-03 10:56:10 +02:00
Michael Stefaniuc 555fbc985c avifil32: Basic COM cleanup for the IAVIStream iface. 2013-09-03 10:56:05 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Michael Stefaniuc e86619413e avifil32/tests: Add COM tests for AVIFile. 2013-03-07 14:56:16 +01:00