~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/blenkernel/intern/writeavi.c

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
2
 * Functions for writing avi-format files.
3
3
 *
4
 
 * $Id: writeavi.c,v 1.4 2002/11/25 12:01:52 mein Exp $
 
4
 * $Id: writeavi.c,v 1.7 2005/04/02 15:36:56 zuster Exp $
5
5
 *
6
6
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
7
7
 *
39
39
#include <config.h>
40
40
#endif
41
41
 
42
 
#ifdef WIN32
43
 
#include "BLI_winstuff.h"
44
 
#endif
45
 
 
46
42
#include "MEM_guardedalloc.h"
47
43
#include "BLI_blenlib.h"
48
44
 
58
54
#include "DNA_scene_types.h"
59
55
/* RPW - End */
60
56
 
 
57
#include "BKE_writeavi.h"
 
58
 
61
59
static AviMovie *avi=NULL;
62
60
static int sframe;
63
61
 
72
70
 
73
71
        RE_make_existing_file(string);
74
72
 
75
 
        if (strcasecmp(string + strlen(string) - 4, ".avi")) {
 
73
        if (BLI_strcasecmp(string + strlen(string) - 4, ".avi")) {
76
74
                sprintf(txt, "%04d_%04d.avi", (G.scene->r.sfra) , (G.scene->r.efra) );
77
75
                strcat(string, txt);
78
76
        }