51182bc78d
add MEM_recallocN(), so bytes are ensured to be zero'd when growing.
2012-08-11 12:16:09 +00:00
b9378a3083
fix for own regression in avi header writing.
2012-08-02 11:25:04 +00:00
8c2550eed7
prevent uninitialized memory use when writing avi's.
2012-07-31 10:34:42 +00:00
e32c60284a
style cleanup
2012-07-29 00:20:28 +00:00
84bf3e48c0
style cleanup: use c style comments in C code
2012-07-06 23:56:59 +00:00
f5f25b81e8
style cleanup:
...
also fix for building ghost test and fix double free in one of the tests
2012-06-17 09:58:26 +00:00
3896ad4cbb
code cleanup: spelling
2012-05-20 21:23:26 +00:00
2d2d36fe3b
code cleanup:
...
- style - multi-line ifs move braces onto new lines.
- iterators - convert some to macros, other split up and move brace.
2012-05-20 19:49:27 +00:00
d20c129a9c
style cleanup: whitespace/operators
2012-05-09 09:24:15 +00:00
e5faeab5d6
style cleanup: avi
2012-05-07 18:30:04 +00:00
112162e09e
code cleanup: header cleanup
2012-04-30 14:24:11 +00:00
343edf2722
style cleanup: function calls & whitespace.
2012-04-29 17:11:40 +00:00
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
bb4942c920
code cleanup: quiet msvc warnings
2012-04-27 03:01:27 +00:00
a73d0d3e72
code cleanup: dont include BLI_winstuff.h on non windows systems, also cleanup some defines/includes for windows.
2012-04-15 07:54:07 +00:00
dabcdc1532
Warning Fixes - const correctness in unicode encoding, unused variables in blenlib, and some type conversions
...
This is from a patch that is in the tracker, but it leaves out a fix of BLI_gzopen which needs more work.
2012-04-09 01:16:19 +00:00
c9e1ced4dd
code cleanup: (dont include ';' in defines), last commit also missed changes to paint_image.c
2012-03-28 01:06:43 +00:00
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
5a90ea77bc
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:24:53 +00:00
89a963fb7f
style cleanup: comment blocks
2012-03-09 18:28:30 +00:00
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
ad96dacbc5
style edit only - move parenthesis onto second line of function definition (in keeping with most of blenders code)
...
also split some long lines in own code.
2011-12-17 00:52:36 +00:00
e84c0980a3
correct indentation and some whitespace edits (no functional changes)
2011-11-11 13:09:14 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
ca1e9d2c18
replace octal 0177 with 127 to be more clear, no functional change.
2011-08-27 03:34:11 +00:00
11645e7a3f
Fix #27877 : writing .avi files > 4 GB not working on windows.
...
Solution is to replace "long" by "int64_t" and "fseek" by "_fseeki64", because
long on 64 bit windows is still 32 bit.
2011-07-06 10:19:04 +00:00
210ee1ade4
whitespace only, no functional change mixed tabs/spaces --> tabs.
2011-04-21 13:11:51 +00:00
c7fccc84bf
use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf & editors.
2011-03-05 10:29:10 +00:00
Nathan Letwory
9960f697a6
doxygen: blender/avi tagged.
2011-02-27 20:43:42 +00:00
00c05c8404
Clean up headers a bit more.
2011-02-23 18:03:40 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
ce2295999e
use zero initializers instead of memset(), also change PointerRNA_NULL from an extern into a define.
2010-11-23 08:44:21 +00:00
5a09368957
use 'const char *' for imbuf and file ops.
2010-11-19 02:14:18 +00:00
a9f79ee536
Quiet compiler warnings.
2010-10-20 12:33:00 +00:00
d1759639dc
- remove unused includes IMB_*, BIF_* & MEM_*
...
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-16 05:46:10 +00:00
1e9bf0cfdb
spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)
2010-03-22 09:30:00 +00:00
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
d5592fe254
fixes for errors/warnings found with cppcheck
2009-12-26 20:23:13 +00:00
29c6440bb3
== AVI ==
...
Only open AVI files with at least one supported video track type.
(This is the real fix for DV-Type1-AVIs, since the FCC of iads, that
is used there, wasn't detected. But the code will happily open AVI-files
with only audio tracks... So the real fix is: only try to open things, that
contains something we know how to handle :) )
2009-06-21 17:00:18 +00:00
Chris Want
5d0a207ecb
Patch from GSR that a) fixes a whole bunch of GPL/BL license
...
blocks that were previously missed; and b) greatly increase my
ohloh stats!
2008-04-16 22:40:48 +00:00
Ken Hughes
ab662ae85c
More fixes for gcc warnings.
2008-02-03 18:50:03 +00:00
139cb3c0bc
=Scons ffmpeg update and avi fix=
...
Updated scons to work with the ffmpeg binaries in
lib/windows/gcc again. Also fixed a bug reported by
Debolaz on irc. Blender's internal avi reading (which can
only read simple formats like motion jpeg) was telling the
video code it could read all avis, without checking their
codec.
To fix this, I copied AVI_open_movie(), and modified it to
to replace AVI_is_avi(). Now it properly checks the codec,
and validates the header.
2007-12-25 06:48:45 +00:00
ac06724418
This fixes a bug in the mplayer bug tracker ;)
...
http://bugzilla.mplayerhq.hu/show_bug.cgi?id=642
Help provided by Reimar Doeffing.
It removes two special cases which were creating empty huffman tables.
So videos would play all black in players that were working correctly
and looking at the tables if they exist.
I also deleted commented out malloc statements that seem to be working
just fine(they were replaced with MEM_mallocN statements).
If people need them they can just look at cvs to see how they were done before.
I also removed an empty else statement.
(This fix does not fix the black bar in the sequencer with blender made avi's but
I hope to have a fix for that later today)
Kent
2007-02-13 15:50:28 +00:00
2222e4cbc1
Made it so avi code handles "dropped frames"
...
some avi's have 0 sized chunks that we were not handling properly.
(Need to basically rewind the avi to previous frame in this case)
http://www.cs.umn.edu/~mein/blender/avi/examp.avi has 25 frames,
4,7 and 9 are "dropped frames"
blender use to crash on these now it displays the frame before it assuming
there is one.
Kent
2006-06-06 18:55:55 +00:00
0ae9af34a0
a fix for: https://projects.blender.org/tracker/index.php?func=detail&aid=1173&group_id=9&atid=126
...
blender now does a little more homework to figure out what type of avi file is
being loaded.
Kent
2005-03-23 18:33:52 +00:00
d0e346d544
updated .c files to include:
...
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
Just need to finish cpp files now :)
Kent
--
mein@cs.umn.edu
2002-11-25 12:02:15 +00:00
Hans Lambermont
12315f4d0e
Initial revision
2002-10-12 11:37:38 +00:00