diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-29 19:47:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-29 19:47:02 +0400 |
commit | e701f9b67010279db02ceb51f7d08078cb34170a (patch) | |
tree | 22134b33527f2d3a1b05f4265422bf5d98420bbc /source/blender/quicktime/apple | |
parent | 038c12895f50a97607dd372cb0780c55eb38fe22 (diff) |
style cleanup: whitespace / commas
Diffstat (limited to 'source/blender/quicktime/apple')
-rw-r--r-- | source/blender/quicktime/apple/quicktime_export.c | 36 | ||||
-rw-r--r-- | source/blender/quicktime/apple/quicktime_import.c | 4 |
2 files changed, 20 insertions, 20 deletions
diff --git a/source/blender/quicktime/apple/quicktime_export.c b/source/blender/quicktime/apple/quicktime_export.c index 599268b225a..d436b90502e 100644 --- a/source/blender/quicktime/apple/quicktime_export.c +++ b/source/blender/quicktime/apple/quicktime_export.c @@ -144,7 +144,7 @@ static QuicktimeCodecTypeDesc qtVideoCodecList[] = { {kMPEG4VisualCodecType, 10, "MPEG4"}, {kH263CodecType, 11, "H.263"}, {kH264CodecType, 12, "H.264"}, - {0,0,NULL}}; + {0, 0, NULL}}; static int qtVideoCodecCount = 12; @@ -346,22 +346,22 @@ static void QT_CreateMyVideoTrack(int rectx, int recty, ReportList *reports) trackFrame.bottom = recty; trackFrame.right = rectx; - qtexport->theTrack = NewMovieTrack (qtexport->theMovie, - FixRatio(trackFrame.right,1), - FixRatio(trackFrame.bottom,1), - 0); + qtexport->theTrack = NewMovieTrack (qtexport->theMovie, + FixRatio(trackFrame.right, 1), + FixRatio(trackFrame.bottom, 1), + 0); CheckError( GetMoviesError(), "NewMovieTrack error", reports ); -// SetIdentityMatrix(&myMatrix); -// ScaleMatrix(&myMatrix, fixed1, Long2Fix(-1), 0, 0); -// TranslateMatrix(&myMatrix, 0, Long2Fix(trackFrame.bottom)); -// SetMovieMatrix(qtexport->theMovie, &myMatrix); + // SetIdentityMatrix(&myMatrix); + // ScaleMatrix(&myMatrix, fixed1, Long2Fix(-1), 0, 0); + // TranslateMatrix(&myMatrix, 0, Long2Fix(trackFrame.bottom)); + // SetMovieMatrix(qtexport->theMovie, &myMatrix); qtexport->theMedia = NewTrackMedia (qtexport->theTrack, - VideoMediaType, - qtdata->kVideoTimeScale, - nil, - 0); + VideoMediaType, + qtdata->kVideoTimeScale, + nil, + 0); CheckError( GetMoviesError(), "NewTrackMedia error", reports ); err = BeginMediaEdits (qtexport->theMedia); @@ -381,10 +381,10 @@ static void QT_EndCreateMyVideoTrack(ReportList *reports) CheckError( err, "EndMediaEdits error", reports ); err = InsertMediaIntoTrack (qtexport->theTrack, - kTrackStart,/* track start time */ - kMediaStart,/* media start time */ - GetMediaDuration (qtexport->theMedia), - fixed1); + kTrackStart, /* track start time */ + kMediaStart, /* media start time */ + GetMediaDuration (qtexport->theMedia), + fixed1); CheckError( err, "InsertMediaIntoTrack error", reports ); } @@ -515,7 +515,7 @@ void filepath_qt(char *string, RenderData *rd) BLI_make_existing_file(string); if (BLI_strcasecmp(string + strlen(string) - 4, ".mov")) { - sprintf(txt, "%04d-%04d.mov", (rd->sfra) , (rd->efra) ); + sprintf(txt, "%04d-%04d.mov", (rd->sfra), (rd->efra) ); strcat(string, txt); } } diff --git a/source/blender/quicktime/apple/quicktime_import.c b/source/blender/quicktime/apple/quicktime_import.c index 197c8cebca3..f5601fb5b8c 100644 --- a/source/blender/quicktime/apple/quicktime_import.c +++ b/source/blender/quicktime/apple/quicktime_import.c @@ -417,7 +417,7 @@ static int GetFirstVideoMedia(struct anim *anim) anim->qtime->theMedia = GetTrackMedia(anim->qtime->theTrack); if (anim->qtime->theMedia) - GetMediaHandlerDescription(anim->qtime->theMedia,&mediaType, nil, nil); + GetMediaHandlerDescription(anim->qtime->theMedia, &mediaType, nil, nil); if (mediaType == VideoMediaType) return 1; } @@ -454,7 +454,7 @@ int startquicktime (struct anim *anim) #endif short depth = 0; - anim->qtime = MEM_callocN (sizeof(QuicktimeMovie),"animqt"); + anim->qtime = MEM_callocN (sizeof(QuicktimeMovie), "animqt"); anim->qtime->have_gw = FALSE; if (anim->qtime == NULL) { |