Commit Graph

95 Commits

Author SHA1 Message Date
Michael Stefaniuc 7854cce757 avifil32: Support COM aggregation for AVIFile.
Ref counting bug in QueryInterface comes free of charge!
2013-03-07 14:56:16 +01:00
Michael Stefaniuc 39127a0700 avifil32: Avoid forward declaration of IAVIFile/IPersistFile methods. 2013-03-07 14:56:16 +01:00
Michael Stefaniuc c52d915e2b avifil32: Merge and cleanup the IPersistFile iface. 2013-03-07 14:56:16 +01:00
Michael Stefaniuc 8e6c79b3cc avifil32: COM cleanup for the IAVIFile iface. 2013-03-07 14:56:16 +01:00
Andrew Talbot f2a0f05082 avifil32: Fix use of wrong variable in expression. 2011-09-21 11:35:43 +02:00
Francois Gouget d82c70e511 avifil32: The stream format string cannot really be translated so remove it from the resources. 2011-08-26 16:33:42 +02:00
Julius Schwartzenberg 7401af64e9 avifil32: Use chunksize specified by the chunk itself, avoids a noticable ticking sound heard when reading past the chunk boundary. 2010-01-21 09:05:38 +01:00
Maarten Lankhorst bfe9e6d74c avifile: Fix playback of fixed sample size audio streams. 2010-01-20 15:32:23 +01:00
Julius Schwartzenberg 6a5e443f3f avifil32: Fix header suggested buffersize. 2010-01-14 09:36:55 -06:00
Julius Schwartzenberg cf73a26c6b avifil32: Overwrite dwRate in the audiostream with the nBlockAlign from the wave header. 2010-01-14 09:36:46 -06: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
Andrew Talbot e281b0935b avifil32: Constify a variable. 2009-05-25 11:21:54 +02:00
Michael Stefaniuc 905ff8fdaa avifil32: Remove superfluous pointer casts. 2009-01-27 14:26:43 +01:00
Alexandre Julliard 4f324b3a4b avifil32: Convert source files to utf-8. 2008-10-18 19:19:02 +02:00
Gerald Pfeifer 61de0f4118 avifil32: Make size parameter of AVIFILE_ReadBlock DWORD instead of LONG. 2008-07-22 15:25:13 +02: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
Andrew Talbot ff92404dec avifil32: Remove unneeded casts. 2007-12-31 17:41:29 +01:00
Andrew Talbot 3d61013e7c avifil32: Fix some memory leaks. 2007-09-13 10:54:54 +02:00
Andrew Talbot b01c2c8ae5 avifil32: Constify some variables. 2007-04-03 11:22:44 +02: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
Michael Stefaniuc fee72b607a Yet another round of redundant NULL checks before HeapFree. 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
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
Mike McCormack 9d5b2ea5a2 avifil32: Use HeapAlloc instead of LocalAlloc. 2006-03-13 13:31:00 +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
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
Alex Villacís Lasso 3f05998c6a Initialize structs for mmioDescend and FindChunkAndKeepExtras - fixes
AVI file recognition.
2005-09-12 20:14:49 +00:00
Mike McCormack f58e9f9e4b gcc 4.0 warning fixes. 2005-08-17 10:28:35 +00:00
Mike McCormack 723ee0a3bc gcc 4.0 -Wpointer-sign fixes. 2005-07-05 14:26:54 +00:00
Dmitry Timoshkov 4625628e67 Make some of the OLE interface vtables const. 2005-05-27 20:17:35 +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
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
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
James Hawkins 2d044dd64b Use InterlockedDecrement and InterlockedIncrement instead of ++/--. 2004-09-16 19:08:23 +00:00
Alexandre Julliard 39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +00:00
Hans Leidekker 411fc5f164 Fix signed/unsigned comparison warnings. 2004-09-02 23:00:53 +00:00
Alexandre Julliard f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00