diff options
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/writeffmpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/writeffmpeg.c b/source/blender/blenkernel/intern/writeffmpeg.c index 082ae380070..ad4776c7a2d 100644 --- a/source/blender/blenkernel/intern/writeffmpeg.c +++ b/source/blender/blenkernel/intern/writeffmpeg.c @@ -668,9 +668,9 @@ static AVStream *alloc_audio_stream(RenderData *rd, int codec_id, AVFormatContex const int *p = codec->supported_samplerates; int best = 0; int best_dist = INT_MAX; - for (; *p; p++){ + for (; *p; p++) { int dist = abs(st->codec->sample_rate - *p); - if (dist < best_dist){ + if (dist < best_dist) { best_dist = dist; best = *p; } |