~ubuntu-branches/ubuntu/trusty/blender/trusty-proposed

« back to all changes in this revision

Viewing changes to source/blender/quicktime/apple/quicktime_export.c

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2013-08-14 10:43:49 UTC
  • mfrom: (14.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20130814104349-t1d5mtwkphp12dyj
Tags: 2.68a-3
* Upload to unstable
* debian/: python3.3 Depends simplified
  - debian/control: python3.3 Depends dropped
    for blender-data package
  - 0001-blender_thumbnailer.patch refreshed
* debian/control: libavcodec b-dep versioning dropped

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
 
48
48
#include "BLI_blenlib.h"
49
49
 
50
 
#include "BLO_sys_types.h"
 
50
#include "BLI_sys_types.h"
51
51
 
52
52
#include "IMB_imbuf.h"
53
53
#include "IMB_imbuf_types.h"
559
559
 
560
560
#ifdef __APPLE__
561
561
        EnterMoviesOnThread(0);
562
 
        sprintf(theFullPath, "%s", name);
 
562
        strcpy(theFullPath, name);
563
563
 
564
564
        /* hack: create an empty file to make FSPathMakeRef() happy */
565
565
        myFile = open(theFullPath, O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRUSR | S_IWUSR);
575
575
#endif
576
576
#ifdef _WIN32
577
577
        qtname = get_valid_qtname(name);
578
 
        sprintf(theFullPath, "%s", qtname);
 
578
        strcpy(theFullPath, qtname);
579
579
        strcpy(name, qtname);
580
580
        MEM_freeN(qtname);
581
581