[vlc-commits] scaletempo: re-indent

Thomas Guillem git at videolan.org
Thu Feb 28 14:25:11 CET 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Feb 19 18:05:27 2019 +0100| [4e187872646706543d089953ab857ab41f81af48] | committer: Thomas Guillem

scaletempo: re-indent

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4e187872646706543d089953ab857ab41f81af48
---

 modules/audio_filter/scaletempo.c | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/modules/audio_filter/scaletempo.c b/modules/audio_filter/scaletempo.c
index bb6f703088..034b50bef1 100644
--- a/modules/audio_filter/scaletempo.c
+++ b/modules/audio_filter/scaletempo.c
@@ -556,14 +556,13 @@ static block_t *DoWork( filter_t * p_filter, block_t * p_in_buf )
 
     double scale = p_filter->fmt_in.audio.i_rate / (double)p->sample_rate;
     if( scale != p->scale ) {
-      p->scale = scale;
-      p->bytes_stride_scaled  = p->bytes_stride * p->scale;
-      p->frames_stride_scaled = p->bytes_stride_scaled / p->bytes_per_frame;
-      p->bytes_to_slide = 0;
-      msg_Dbg( p_filter, "%.3f scale, %.3f stride_in, %i stride_out",
-               p->scale,
-               p->frames_stride_scaled,
-               (int)( p->bytes_stride / p->bytes_per_frame ) );
+        p->scale = scale;
+        p->bytes_stride_scaled  = p->bytes_stride * p->scale;
+        p->frames_stride_scaled = p->bytes_stride_scaled / p->bytes_per_frame;
+        p->bytes_to_slide = 0;
+        msg_Dbg( p_filter, "%.3f scale, %.3f stride_in, %i stride_out rate: %u",
+                 p->scale, p->frames_stride_scaled,
+                 (int)( p->bytes_stride / p->bytes_per_frame ), p->sample_rate );
     }
 
     block_t *p_out_buf = NULL;



More information about the vlc-commits mailing list