Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel/intern/writeffmpeg.c')
-rw-r--r--source/blender/blenkernel/intern/writeffmpeg.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenkernel/intern/writeffmpeg.c b/source/blender/blenkernel/intern/writeffmpeg.c
index 3ddbb9e45c4..fcfd4f9dd85 100644
--- a/source/blender/blenkernel/intern/writeffmpeg.c
+++ b/source/blender/blenkernel/intern/writeffmpeg.c
@@ -1142,7 +1142,7 @@ int BKE_ffmpeg_append(RenderData *rd, int start_frame, int frame, int *pixels, i
if (ffmpeg_autosplit) {
if (avio_tell(outfile->pb) > FFMPEG_AUTOSPLIT_SIZE) {
- end_ffmpeg_impl(TRUE);
+ end_ffmpeg_impl(true);
ffmpeg_autosplit_count++;
success &= start_ffmpeg_impl(rd, rectx, recty, reports);
}
@@ -1168,7 +1168,7 @@ static void end_ffmpeg_impl(int is_autosplit)
#endif
#ifdef WITH_AUDASPACE
- if (is_autosplit == FALSE) {
+ if (is_autosplit == false) {
if (audio_mixdown_device) {
AUD_closeReadDevice(audio_mixdown_device);
audio_mixdown_device = 0;
@@ -1240,7 +1240,7 @@ static void end_ffmpeg_impl(int is_autosplit)
void BKE_ffmpeg_end(void)
{
- end_ffmpeg_impl(FALSE);
+ end_ffmpeg_impl(false);
}
/* properties */
@@ -1609,17 +1609,17 @@ bool BKE_ffmpeg_alpha_channel_is_supported(RenderData *rd)
int codec = rd->ffcodecdata.codec;
if (codec == AV_CODEC_ID_QTRLE)
- return TRUE;
+ return true;
if (codec == AV_CODEC_ID_PNG)
- return TRUE;
+ return true;
#ifdef FFMPEG_FFV1_ALPHA_SUPPORTED
if (codec == AV_CODEC_ID_FFV1)
- return TRUE;
+ return true;
#endif
- return FALSE;
+ return false;
}
#endif