[Bf-committers] ffmpeg fix

joe joeedh at gmail.com
Mon Dec 24 10:23:19 CET 2007


Hi.  Debolaz on irc made a patch to correct a problem with ffmpeg on
windows.  It's a really simple change, it basically moves the
file-format testing order of ffmpeg above avi, which makes the win32
code identical to the all-other-systems code.  Basically it tests if a
file can be opened with ffmpeg before checking if it can be opened
with the internal avi code, which is how all other platforms *but*
windows work.

The question is, why was ffmpeg made last in the file test order for
windows?  This doesn't seem to make any sense, as far as I can tell
the avi reading code doesn't do anything special on windows anyway
(just the writing code I suppose, not sure how that all works but I
didn't see anything in a quick look at source/blender/avi/avi.c, and
also I grepped for WIN in the avi folder and got nothing).

If its okay with every I can just commit the change.  It's just moving
3 lines of code.

Joe


More information about the Bf-committers mailing list