diff options
Diffstat (limited to 'source/blender/quicktime')
-rw-r--r-- | source/blender/quicktime/apple/qtkit_export.m | 6 | ||||
-rw-r--r-- | source/blender/quicktime/apple/quicktime_export.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/quicktime/apple/qtkit_export.m b/source/blender/quicktime/apple/qtkit_export.m index f709572d0bb..db47952e45f 100644 --- a/source/blender/quicktime/apple/qtkit_export.m +++ b/source/blender/quicktime/apple/qtkit_export.m @@ -132,7 +132,8 @@ int quicktime_get_num_videocodecs() return qtVideoCodecCount; } -QuicktimeCodecTypeDesc* quicktime_get_videocodecType_desc(int indexValue) { +QuicktimeCodecTypeDesc* quicktime_get_videocodecType_desc(int indexValue) +{ if ((indexValue>=0) && (indexValue < qtVideoCodecCount)) return &qtVideoCodecList[indexValue]; else @@ -176,7 +177,8 @@ int quicktime_get_num_audiocodecs() return qtAudioCodecCount; } -QuicktimeCodecTypeDesc* quicktime_get_audiocodecType_desc(int indexValue) { +QuicktimeCodecTypeDesc* quicktime_get_audiocodecType_desc(int indexValue) +{ if ((indexValue>=0) && (indexValue < qtAudioCodecCount)) return &qtAudioCodecList[indexValue]; else diff --git a/source/blender/quicktime/apple/quicktime_export.c b/source/blender/quicktime/apple/quicktime_export.c index 71cf87517f5..251d37e920e 100644 --- a/source/blender/quicktime/apple/quicktime_export.c +++ b/source/blender/quicktime/apple/quicktime_export.c @@ -153,7 +153,8 @@ int quicktime_get_num_videocodecs() return qtVideoCodecCount; } -QuicktimeCodecTypeDesc* quicktime_get_videocodecType_desc(int indexValue) { +QuicktimeCodecTypeDesc* quicktime_get_videocodecType_desc(int indexValue) +{ if ((indexValue>=0) && (indexValue < qtVideoCodecCount)) return &qtVideoCodecList[indexValue]; else |