Commit Graph

378 Commits

Author SHA1 Message Date
Julius Schwartzenberg 9bcb143a40 avifil32/tests: Test how avifile deals with audio stream and wave headers. 2010-01-11 13:29:52 -06:00
Julius Schwartzenberg ef19d85229 avifil32/tests: Test corrupt avi list magic. 2010-01-11 13:29:44 -06:00
Julius Schwartzenberg e2944fc2ee avifil32/tests: Initial test data and simple test for avifil32. 2010-01-11 13:29:18 -06:00
Detlef Riekenberg a60204461a avifil32/tests: Add initial tests. 2010-01-11 13:27:58 -06:00
Henri Verbeet d34aba2a1c avifil32: Don't leak the buffer on HeapReAlloc() failure in AVISaveOptionsFmtChoose(). 2010-01-06 09:53:37 +01:00
Henri Verbeet 7ab7103946 avifil32: Don't leak the buffer on HeapReAlloc() failure in AVIFILE_AddFrame().
Perhaps the code should also just double the buffer. I can send another patch
for that if needed.
2010-01-06 09:53:17 +01:00
Henri Verbeet 63aa5418c1 avifil32: Only modify the stream info after a succesful allocation in AVIFILE_AddFrame(). 2010-01-06 09:53:07 +01:00
Henri Verbeet c2051d33d6 avifil32: Properly check the required buffer size in AVIFILE_AddFrame(). 2010-01-06 09:53:02 +01:00
Henri Verbeet 32c3adbbaa avifil32: Always add the format change frame to the buffer in AVIFILE_AddFrame().
It doesn't make sense to only do this when the buffer is resized.
2010-01-06 09:52:57 +01:00
Henri Verbeet c274d6f06e avifil32: Don't leak the buffer on HeapReAlloc() failure in AVIFILE_ReadBlock(). 2010-01-05 12:19:25 +01:00
Henri Verbeet 1fb72a37eb avifil32: Just assign maxSize to This->cbBuffer in AVIFILE_ReadBlock(). 2010-01-05 12:19:22 +01:00
Henri Verbeet 4c36e12be6 avifil32: Properly check the required buffer size in AVIFILE_ReadBlock(). 2010-01-05 12:19:18 +01:00
André Hentschel b2272fb768 avifil32: Update German translation. 2009-08-12 17:28:45 +02:00
Vladimir Pankratov 6f81330eb4 avifile: Convert the Russian resources to UTF-8. 2009-07-24 13:11:29 +02:00
Alexandre Julliard a32e4e5ee3 Convert English resources to UTF-8 where necessary. 2009-07-20 14:46:48 +02:00
Alexandre Julliard 963b0d679f avifil32: Convert the language-neutral resource file to UTF-8. 2009-07-09 15:47:33 +02:00
Michael Stefaniuc a3086ace25 avifil32: Convert the German resources to UTF-8. 2009-07-09 15:22:44 +02:00
Frédéric Delanoy 34460a8242 avifil32: Fix French translation. 2009-07-08 20:12:25 +02:00
Michael Stefaniuc 38bccbc15e avifil32: Build language resource files separately.
Do not include them from an other rc file.
2009-07-02 13:18:00 +02:00
Paul Chitescu 508270b533 avifil32: Romanian translation. 2009-06-24 14:54:19 +02:00
Aurimas Fišeras ce349981a2 avifil32: Add Lithuanian translation. 2009-06-24 11:24:35 +02:00
Andrew Talbot e281b0935b avifil32: Constify a variable. 2009-05-25 11:21:54 +02:00
Alexandre Julliard b91cf321ea avifil32: Make avifile.dll into a stand-alone 16-bit module. 2009-03-24 16:56:58 +01:00
Francois Gouget 5e56845546 avifil32: Add a missing AddRef in IGetFrame_QueryInterface(). 2009-03-10 14:42:02 +01:00
Francois Gouget f884cf0ddf avifil32: Add missing AddRefs in IAVIFile_QueryInterface(). 2009-03-10 14:41:59 +01:00
Artem Reznikov e9996b9be4 avifil32: Ukranian translation. 2009-02-09 12:05:54 +01:00
Michael Stefaniuc 905ff8fdaa avifil32: Remove superfluous pointer casts. 2009-01-27 14:26:43 +01:00
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +01:00
ByeongSik Jeon 5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
ByeongSik Jeon 1b0297a7f9 *Zh.rc: Update the Chinese resource font name to "MS Shell Dlg". 2008-12-11 12:20:48 +01:00
Francois Gouget d57774732a avifil32: Remove unneeded casts of zero. 2008-12-08 12:05:34 +01:00
Francois Gouget 23e6e7be8e Make sure we have a space before the ellipses in Slovenian resources. 2008-12-04 12:06:06 +01:00
Michael Stefaniuc 83c4ae561d avifil32: Remove superfluous casts of void pointers. 2008-11-03 13:42:17 +01:00
Alexandre Julliard 4f324b3a4b avifil32: Convert source files to utf-8. 2008-10-18 19:19:02 +02:00
Muneyuki Noguchi 26134a731d avifil32: Convert Japanese resource to UTF-8. 2008-10-13 11:40:47 +02:00
Rob Shearman c9d24bdc3e avifil32: Fix treating the return values of mmio* functions as HRESULTs instead of MMRESULTs.
(Found by PreFast.)
2008-09-30 10:20:32 -05:00
Rob Shearman 171762827c avifil32: Fix type of variable used to store the result of ICCompress in AVIFILE_EncodeFrame.
(Found by PreFast.)
2008-09-30 10:20:26 -05:00
Muneyuki Noguchi 5fb9ed227d avifil32: Use "MS Shell Dlg" 9 in Japanese resources. 2008-09-25 13:28:07 +02:00
Rob Shearman 7496db0fa8 avifil32: Add explicit "!= S_OK" to expressions that use HRESULTs as booleans. 2008-09-12 16:49:58 +02:00
Hongbo Ni 030e678c9e avifil32: Add simplified and traditional Chinese resources. 2008-09-04 11:41:19 +02:00
Gerald Pfeifer 61de0f4118 avifil32: Make size parameter of AVIFILE_ReadBlock DWORD instead of LONG. 2008-07-22 15:25:13 +02:00
Andrew Talbot 22f2558e24 avifil32: Remove unneeded address-of operators from array names. 2008-07-08 10:47:37 +02:00
Detlef Riekenberg dda737f36a avifil32: The array index is 0-based. 2008-06-23 14:07:57 +02:00
Detlef Riekenberg 43fb6f771f avifil32: Resize the dialog to avoid truncated texts. 2008-05-27 12:03:55 +02:00
Mikołaj Zalewski 14a42f802d Make Swedish use SUBLANG_NEUTRAL. 2008-05-19 16:09:13 +02:00
Jens Albretsen b434e2c2ab avifil32: Added Danish translation. 2008-05-05 13:35:16 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Rok Mandeljc 6b144b3876 avifil32: Updated Slovenian translation. 2008-04-07 21:38:52 +02:00
Hwang YunSong(황윤성) bea9f06200 avifil32: Updated Korean resource. 2008-04-02 12:30:28 +02:00
Ken Thomases 0bb1eb72b8 avifil32: Fix copy/paste error. 2008-03-12 12:00:35 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Rob Shearman e7173dfa4e avifil32: Fix the character count passed into LoadStringW in AVIBuildFilterW and AVISaveOptionsUpdate. 2008-02-25 13:31:29 +01:00
Alexandre Julliard 427cd9183a uuid: Remove a few iids that don't belong here. 2008-02-19 20:09:19 +01:00
Rob Shearman c6c205a1d5 avifil32: Simplify a comparison in AVIBuildFilterW. 2008-02-19 14:11:39 +01:00
Rob Shearman 89a2eab3f4 avifil32: Pass the number of characters to LoadStringW, not the number of bytes. 2008-02-15 09:53:07 +01:00
Andrew Talbot 292fd135e5 avifil32: Assign to structs instead of using memcpy. 2008-02-12 22:35:56 +01:00
Austin English f6caf1be81 Misc spelling fixes. 2008-01-18 12:51:08 +01:00
Austin English 464258b7cd Spelling fixes. 2008-01-03 13:08:54 +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
Jonathan Ernst c0473bb8e7 avifil32: Updated French translation. 2007-11-13 21:47:37 +01:00
Daniel Nylander 7563145fa7 avifil32: Add Swedish translation. 2007-10-16 12:37:10 +02: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
Paul Vriens daccba5de0 avifil32/regsvr: Replace recursive delete functions by RegDeleteTree. 2007-08-17 11:48:35 +02:00
Janusz Tomczak 9588fc5df2 avifil32: Fix Polish translation. 2007-08-06 13:58:04 +02:00
Andrew Talbot 9261e30801 avifil32: Exclude unused headers. 2007-04-23 19:59:47 +02:00
Andrew Talbot b01c2c8ae5 avifil32: Constify some variables. 2007-04-03 11:22:44 +02:00
Andrew Talbot 76c99d976a avifil32: Constify some variables. 2007-03-14 12:10:27 +01:00
Andrew Talbot ba9e77b8f6 avifil32: Declare some variables static. 2007-02-05 12:25:40 +01:00
Michael Stefaniuc 22684cc767 janitorial: Remove stray '\' at end of lines. 2007-01-09 12:04:26 +01:00
Francois Gouget c66628b73f Consistently use SUBLANG_NEUTRAL for Italian resources. 2006-12-05 11:28:38 +01:00
Francois Gouget c5b5aaa082 avifil32: Add a Portuguese translation (contributed by Americo Jose Melo). 2006-11-27 13:42:39 +01:00
Francois Gouget b5f104d05b Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX constant for languages that have multiple sublanguages. 2006-11-24 11:49:32 +01: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
Mikołaj Zalewski 58bd35c8c5 resources: Change Dutch sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 17:45:51 +02:00
Mikołaj Zalewski e32aa55703 resources: Change German sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 11:45:12 +02:00
Byeong-Sik Jeon e1fd734c97 Korean: Use SUBLANG_NEUTRAL in Korean resources. 2006-10-20 13:49:39 +02:00
Michael Stefaniuc f041a2b056 avifil32: Win64 printf format warning fixes. 2006-10-10 11:56:49 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Bang Jun-Young 5f5b90914d avifil32: Remove unnecessary dependency on ntdll. 2006-07-12 13:16:40 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Paul Vriens 8f143f190c Use the return value of register_key_guid. 2006-06-30 21:08:07 +02:00
Marcus Meissner f1b1fe63f6 avifil32: Corrected destination size in MultiByteToWideChar. 2006-06-16 11:31:06 +02:00
Michael Stefaniuc fee72b607a Yet another round of redundant NULL checks before HeapFree. 2006-06-13 11:40:23 +02:00
Alexandre Julliard 1db7a349c9 avifil32: Declare varargs functions as WINAPIV instead of cdecl. 2006-06-13 11:40:23 +02:00
Alexandre Julliard 9ca8a86914 Link against libwine_unicode everywhere we use Unicode functions. 2006-05-24 18:05:40 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 74407105d2 Check the return value from register_key_guid in all the DLL registering code. 2006-05-10 19:38:04 +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 417067bb0d avifil32: Use HeapAlloc instead of GlobalAlloc. Eliminate windowsx.h. 2006-03-18 18:04:39 +01:00
András Kovács 64d5b80a02 avifil32: Added Hungarian translation. 2006-03-15 11:31:05 +01:00
Mike McCormack 9d5b2ea5a2 avifil32: Use HeapAlloc instead of LocalAlloc. 2006-03-13 13:31:00 +01:00
Mike McCormack dfb5aaf31a avifil32: Use HeapAlloc instead of Global/LocalAlloc. 2006-03-13 13:30:55 +01:00
Mike McCormack 15c5dc12e8 avifil32: Use HeapAlloc instead of Local Alloc. 2006-03-13 13:30:51 +01:00
Mike McCormack 4fa92f65e7 avifil32: Use HeapAlloc instead of GlobalAlloc/LocalAlloc. 2006-03-13 13:30:46 +01:00
Mike McCormack a4b816c752 avifil32: Use HeapAlloc/Free instead of LocalAlloc/Free. 2006-03-13 13:30:40 +01:00
Mike McCormack 8ed1ca3e4b avifil32: Use HeapAlloc instead of LocalAlloc. Make sure to free the memory. 2006-03-13 13:30:31 +01:00
Mike McCormack 29212d8afd avifil32: Use CoTaskMemAlloc when allocating memory to return through
an OLE interface.
2006-03-10 21:42:49 +01: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 8723936de6 avifil32: Fix some more gcc 4.1 warnings caused by windowsx.h macros. 2006-03-06 17:50:43 +01:00
Mike McCormack 73bc4e6752 avifil32: Eliminate some gcc 4.1 warnings caused by windowsx.h macros. 2006-03-04 16:12:36 +01:00
Petr Tesarik 41baefcd05 avifil32: Czech language resources encoding fix. 2006-02-13 13:27:04 +01:00
Fatih Aşıcı e9d5e194e9 avifil32: Turkish translation. 2006-02-06 13:02:41 +01:00
Dmitry Timoshkov 2a93c2f23d ICCompressorChoose should initialize fccType and fccHandler fields
for the full frames case as well.
2006-01-23 11:24:08 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
YunSong Hwang 3ddd394e25 Update Korean translations. 2005-11-15 12:06:12 +00:00
YunSong Hwang 6e20af5dac Add Korean translations. 2005-11-14 11:27:36 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexander N. Sørnes 8822dbbb92 Added Norwegian translations. 2005-09-25 15:15:25 +00:00
Alexandre Julliard 9f1c6de1ef We are no longer generating .spec.c files. 2005-09-21 14:42:52 +00:00
Dmitry Timoshkov 8cef366e61 Revert previous change, it should not be needed anymore since a
proper fix for mmioDescend regression has been committed.
2005-09-17 14:30:15 +00:00
Alexandre Julliard d559fbd803 Fixed gcc 4.0 warnings. 2005-09-12 20:30:37 +00:00
Alex Villacís Lasso 3f05998c6a Initialize structs for mmioDescend and FindChunkAndKeepExtras - fixes
AVI file recognition.
2005-09-12 20:14:49 +00:00
Alexandre Julliard 261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Mike McCormack fe1ec78841 Fix gcc 4.0 warnings. 2005-09-08 11:04:53 +00:00
Mike McCormack f58e9f9e4b gcc 4.0 warning fixes. 2005-08-17 10:28:35 +00:00
Vincent Béron 7160af007c Uniformize DllMain TRACEing across dlls. 2005-08-15 10:48:51 +00:00
Alexandre Julliard d37f0abf07 Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Francois Gouget 65f2082108 Add missing WINAPI to MSXML_DllGetClassObject().
Standardize the DllGetClassObject() prototypes so they match the MSDN
definition.
2005-08-08 15:04:53 +00:00
Alexandre Julliard b8d3075d83 Uncomment the typedef in the DECLARE_INTERFACE macro, and get rid of
duplicate typedefs.
2005-07-26 18:32:53 +00:00
Mike McCormack 723ee0a3bc gcc 4.0 -Wpointer-sign fixes. 2005-07-05 14:26:54 +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
Dmitry Timoshkov 4625628e67 Make some of the OLE interface vtables const. 2005-05-27 20:17:35 +00:00
Alexandre Julliard aebb745488 Comment out stub WEP entry points so that we can call WEP for builtin
dlls too.
2005-05-23 10:12:26 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +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
Alex Villacís Lasso 18bfe6a095 Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
Paul Vriens c905d691c8 - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-14 15:10:52 +00:00
Paul Vriens fea45b1493 - Fix logic in Stream_fnRelease, refcount should be decremented before
the test for 0.
- Use Interlocked* functions in Stream_fnRelease .
- Store the result of the Interlocked functions and this in the
  TRACE.
2005-01-12 19:29:22 +00:00
Alexandre Julliard e7f5fade9e Fixed CLSID_AVISimpleUnMarshal export. 2005-01-03 20:43:13 +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
Alexandre Julliard ebe3c529b1 Janitorial: C booleans must not be compared against TRUE. 2004-12-09 14:07:59 +00:00
James Hawkins 88aeb475c0 Fixed a few memory leaks. 2004-11-30 17:33:27 +00:00
Eric Pouech 5c2a891c43 Made some functions and variables static. 2004-11-29 18:00:10 +00:00
Christian Costa 1d428e6a41 Mapped AVIStreamOpenFromFile to AVIStreamOpenFromFileA. 2004-11-19 17:58:18 +00:00
Francois Gouget 3bb5b093e8 Assorted spelling fixes. 2004-10-22 22:27:51 +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
Francois Gouget a8d2ba9d40 Replace some IUnknown_QueryInterface() calls with the specific call
for the object being used.
2004-10-05 18:10:21 +00:00
Alexandre Julliard 739e5b06da Avoid depending on the non-standard IUnknown_METHODS macro in Wine
internal headers.
2004-10-05 04:16:21 +00:00