Commit Graph

71 Commits

Author SHA1 Message Date
Gijs Vermeulen 42a82726ba avifil32: Introduce ARRAY_SIZE macro.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-21 10:13:55 +01: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
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
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
Andrey Gusev be367393c9 Assorted typos fixes. 2014-01-13 17:37:42 +01:00
Michael Stefaniuc fdfb86589e avifil32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 11:49:35 +02:00
Frédéric Delanoy f932abf326 dlls: Assorted spelling fixes. 2011-08-01 18:26:27 +02:00
Alexandre Julliard fc872b5b15 avifil32: Append the *.* extension by hand after loading the string. 2011-01-13 15:21:48 +01:00
Alexandre Goujon ee706d3d68 avifil32: Fix EditStreamSetInfo wine checks. 2010-09-09 18:16:41 +02:00
Michael Stefaniuc 6178e86a74 avifil32: Remove some redundant "not NULL" checks (coccicheck). 2010-05-18 18:42:07 +02:00
Nikolay Sivov bc87dd6026 avifil32: Registry access calls don't return HRESULT codes. 2010-03-15 14:18:06 +01:00
Julius Schwartzenberg 65f6474c6c avifil32: Allow files with different extensions to be loaded. 2010-01-19 15:03:57 +01:00
Henri Verbeet d34aba2a1c avifil32: Don't leak the buffer on HeapReAlloc() failure in AVISaveOptionsFmtChoose(). 2010-01-06 09:53:37 +01:00
Alexandre Julliard b91cf321ea avifil32: Make avifile.dll into a stand-alone 16-bit module. 2009-03-24 16:56:58 +01:00
Alexandre Julliard 4f324b3a4b avifil32: Convert source files to utf-8. 2008-10-18 19:19:02 +02:00
Detlef Riekenberg dda737f36a avifil32: The array index is 0-based. 2008-06-23 14:07:57 +02:00
Rob Shearman e7173dfa4e avifil32: Fix the character count passed into LoadStringW in AVIBuildFilterW and AVISaveOptionsUpdate. 2008-02-25 13:31:29 +01:00
Rob Shearman c6c205a1d5 avifil32: Simplify a comparison in AVIBuildFilterW. 2008-02-19 14:11:39 +01:00
Andrew Talbot 292fd135e5 avifil32: Assign to structs instead of using memcpy. 2008-02-12 22:35:56 +01:00
Andrew Talbot ff92404dec avifil32: Remove unneeded casts. 2007-12-31 17:41:29 +01:00
Vitaly Lipatov 23db2636fc avifil32: Fix buffer sizes. 2007-12-05 13:31:53 +01:00
Bang Jun-young aaa1908888 avifil32: Fix prototype for AVIStreamFindSample() to match the PSDK. 2007-10-16 09:37:45 +02:00
Andrew Talbot 3d61013e7c avifil32: Fix some memory leaks. 2007-09-13 10:54:54 +02:00
Andrew Talbot 9261e30801 avifil32: Exclude unused headers. 2007-04-23 19:59:47 +02:00
Francois Gouget 1ccf944900 Assorted spelling fixes. 2006-11-13 13:01:53 +01:00
Francois Gouget 9fe4673347 Don't include windows.h & co in the Wine sources.
Remove uneeded COM_NO_WINDOWS_H defines.
2006-10-24 17:47:09 +02:00
Michael Stefaniuc f041a2b056 avifil32: Win64 printf format warning fixes. 2006-10-10 11:56:49 +02:00
Marcus Meissner f1b1fe63f6 avifil32: Corrected destination size in MultiByteToWideChar. 2006-06-16 11:31:06 +02:00
Alexandre Julliard 1db7a349c9 avifil32: Declare varargs functions as WINAPIV instead of cdecl. 2006-06-13 11:40:23 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Michael Stefaniuc a87520036f janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Dmitry Timoshkov 14aab5f3cb avifil32: Avoid not necessary zeroing out of an allocated memory block. 2006-04-12 12:54:45 +02:00
Mike McCormack aebc88d54b avifil32: Fix a regression caused by patch removing GlobalAllocs by using HEAP_ZERO_INIT. 2006-04-11 14:19:13 +02:00
Mike McCormack 610fc08e8d avifil32: Fix some gcc 4.1 warnings cause by windowsx.h macros. 2006-03-10 21:42:29 +01:00
Mike McCormack fe1ec78841 Fix gcc 4.0 warnings. 2005-09-08 11:04:53 +00:00
Marcus Meissner c64432cebe Use CoCreateInstance instead of SHCoCreateInstance, drop shell32 from
imports.
Call OleInitialize() on AVIFileInit.
2005-07-02 10:49:39 +00:00
Vincent Béron 811725ac20 Correct and complete some api documentation. 2005-03-21 10:55:13 +00:00
Vincent Béron 1e365f7791 Fixed some calling conventions. 2005-03-21 10:32:45 +00:00
Hans Leidekker f4f4dff978 Stub implementations for AVIMakeStreamFromClipboard, AVISave{A,W}.
Forward AVIBuildFilter, AVIFileCreateStream, AVIFileOpen, AVISave,
EditStreamSetInfo, EditStreamSetName to their respective *A variants.
2004-12-27 16:58:18 +00:00
Francois Gouget 6fb1a20020 Assorted spelling fixes. 2004-12-20 19:27:06 +00:00
Eric Pouech 5c2a891c43 Made some functions and variables static. 2004-11-29 18:00:10 +00:00
Francois Gouget 486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Hans Leidekker 411fc5f164 Fix signed/unsigned comparison warnings. 2004-09-02 23:00:53 +00:00
Mike McCormack 87bacf46ae Fix string conversion bugs. 2004-07-04 00:11:31 +00:00
Alexandre Julliard 72ecbb0675 SHCoCreateInstance is now documented (spotted by Francois Gouget).
Its first argument should be a Unicode string.
2004-01-06 20:42:47 +00:00
Michael Günnewig 53cfed70bb - First part of a new IAVIEditStream implementation.
- Fixed/Added some parameter checking.
- Fixed bug in EditStreamSetInfoW.
- Fixed bug in avifil32.spec (str instead of wstr).
- Fixed cosmetic bug in IAVIStreamImpl_fnRelease.
- Fixed typo.
2003-10-04 03:05:25 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Michael Günnewig 1b5c4135e2 - Implemented AVIStreamBeginStreaming and AVIStreamEndStreaming.
- Fixed loading of empty AVI files.
- Fixed bug in IGetFrame interface with uncompressed streams.
- Fixed missing ICOM_DEFINE for IAVIStreaming.
2003-09-02 00:54:30 +00:00