Commit Graph

50 Commits

Author SHA1 Message Date
Michael Stefaniuc 84cec28928 msvfw32: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:01 +02:00
Zebediah Figura 37326f2111 msvfw32: Reimplement ICGetDisplayFormat().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=44490
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=23175
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:47:48 +02:00
Zebediah Figura 2068b95aba msvfw32: Set fccType in ICInfo().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-14 09:07:27 +01:00
Zebediah Figura 3396ca87ae msvfw32: Fix driver enumeration.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-14 09:07:24 +01:00
Bruno Jesus 15840d9683 msvfw32: Remove duplicated debug.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-08 13:50:58 +01:00
Michael Müller 02fa1d4cc2 msvfw32: Use case insensitive compare in ICInfo for fourcc codes.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 14:59:04 +01:00
Bruno Jesus ca2420c0ea msvfw32: Allow ICInfo to enumerate codecs when fccType is zero.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 14:59:03 +01:00
Andrey Gusev 01e722a4fc msvfw32: Fix a typo in TRACE() message.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-16 21:17:11 +09:00
Bruno Jesus a90ed505a7 msvfw32: When no fccHandler is specified return the first valid codec.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 13:18:03 +09:00
Bruno Jesus 060db73ab6 msvfw32: Better tracing of ICERR codes and general trace improvements.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 19:25:55 +09:00
Bruno Jesus bd4ead0fec msvfw32: Ask the driver about how much data is required for lpbiOut.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 19:19:23 +09:00
Bruno Jesus f12a970c09 msvfw32: Fix a copy & paste issue.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 19:19:13 +09:00
Bruno Jesus 970692c081 msvfw32: Make wine_dbgstr_fcc handle non-ASCII values better.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:33 +09:00
Bruno Jesus 3a7dfcd28f msvfw32: Only update output parameters when the compress operation works.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:33 +09:00
Bruno Jesus cc9e70a80a msvfw32: Ask the codec to fill the lpbiOutput info when it is not available.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:33 +09:00
Bruno Jesus 4a9d238c14 msvfw32: Improve tracing from ICSeqCompressFrameStart.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:32 +09:00
Bruno Jesus 4cb36b9aaf msvfw32: Lpckid and lpdwFlags must be valid memory addresses.
Otherwise codecs will crash while trying to write to it. Even though
MSDN states that NULL is allowed for lpckid that is not true.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:32 +09:00
Bruno Jesus d733e0d243 msvfw32: Fix the size of previous compressed buffer.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:32 +09:00
Bruno Jesus 8701f92e8d msvfw32: Use a helper to free memory.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:32 +09:00
Bruno Jesus 982fb2fd69 msvfw32: Simplify error handling in ICSeqCompressFrameStart.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:38 +09:00
Bruno Jesus 79c37ac88b msvfw32: Make it easier to recognize missing media codecs. 2015-08-12 22:57:51 +09:00
Frédéric Delanoy 95ae71f3ab Assorted spelling/grammar fixes. 2014-07-01 13:09:13 +02:00
Marcus Meissner cf2c506b1a msvf32: Fixed incorrect sizeof (Coverity). 2013-06-24 11:47:10 +02:00
Frédéric Delanoy 86544ce98f msvfw32: Fix a leak (coverity). 2012-11-05 11:30:35 +01:00
Jörg Höhle 0e566c5b64 msvfw32: Force lower-case 'vidc/vids/audc' etc. when opening new driver. 2011-05-24 18:28:30 +02:00
Paul Vriens ec90fcd9c1 msvfw32: Only call MSVIDEO_GetHicPtr() once (Coverity). 2011-03-17 17:44:47 +01:00
Eric Pouech 70d43eb047 msvfw32: Remove 16bit driver references (now that they no longer exist in winmm). 2009-10-26 11:17:06 +01:00
Alexandre Julliard 0e67f65cab include: Add support for building Wine with strict prototype checking. 2009-10-06 16:12:39 +02:00
Francois Gouget 0601902740 msvfw32: Move MSVIDEO_SendMessage() up and make it and MSVIDEO_GetHicPtr() static. 2009-06-22 13:30:46 +02:00
Eric Pouech 33a04dc69c msvfw32: Clearly separate the 16-bit code out of the rest by wrapping 16-bit message functions in thunks. 2009-05-15 11:35:16 +02:00
Dmitry Timoshkov c3dce7dcce msvfw32: Remove useless and harmful traces from ICDecompress. 2009-05-04 12:52:55 +02:00
Michael Stefaniuc ca8d5a7922 msvfw32: Remove superfluous pointer casts. 2009-01-12 13:06:42 +01:00
Andrew Talbot 6e59407e1c msvfw32: Remove superfluous semicolon. 2008-12-23 12:51:33 +01:00
Alexandre Julliard 7f327237bf Convert remaining source files to utf-8. 2008-10-18 19:23:08 +02:00
Andrew Talbot f5c87f8ec5 msvfw32: Sign-compare warning fix. 2008-09-02 11:54:36 +02:00
Andrew Talbot 0d80791371 msvfw32: Assign to structs instead of using memcpy. 2008-03-07 11:01:07 +01:00
Andrew Talbot 0f806dfd6b msvfw32: Remove unneeded casts. 2008-01-14 13:10:07 +01:00
Andrew Talbot 8402f7a437 msvfw32: Remove unneeded casts. 2007-12-31 16:44:46 +01:00
Julien Muchembled 79e19b91a8 msvfw32: Fix enumeration of VFW video codecs that are registered in the registry. 2007-06-01 12:50:56 +02:00
Michael Stefaniuc 5f62da109e janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call. 2007-04-25 12:26:07 +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
Alexandre Julliard 521612098c msvfw32: Avoid a compiler warning. 2006-10-13 12:08:13 +02:00
Michael Stefaniuc c840d3968b msvfw32: Win64 printf format warning fixes. 2006-10-12 21:43:07 +02:00
Francois Gouget 82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +02:00
Alexandre Julliard 348fd746d9 msvfw32: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:10:57 +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
Alexandre Julliard ac3be957e4 msvideo: Renamed the msvideo directory to msvfw32. 2006-03-15 10:04:53 +01:00