]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/adjust_sat_hue.c
playlist: use playlist_TogglePause() directly, fix minor races
[vlc] / modules / video_filter / adjust_sat_hue.c
index cbc6f13f42e974a7afebd1b7e59b3832ce9781ed..ab7b82663a8868f34fa32a1ed1faabeca3ea17d8 100644 (file)
@@ -7,19 +7,19 @@
  *          Antoine Cellerier <dionoea -at- videolan d0t org>
  *          Martin Briza <gamajun@seznam.cz> (SSE)
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 #ifdef HAVE_CONFIG_H
@@ -191,7 +191,7 @@ int packed_sat_hue_clip_C( picture_t * p_pic, picture_t * p_outpic, int i_sin, i
 
     for( ; p_in < p_in_end ; )
     {
-            p_line_end = p_in + i_visible_pitch - 8 * 4;
+        p_line_end = p_in + i_visible_pitch - 8 * 4;
 
         for( ; p_in < p_line_end ; )
         {
@@ -206,10 +206,10 @@ int packed_sat_hue_clip_C( picture_t * p_pic, picture_t * p_outpic, int i_sin, i
             PACKED_WRITE_UV_CLIP();
         }
 
-            p_in += i_pitch - i_visible_pitch;
-            p_in_v += i_pitch - i_visible_pitch;
-            p_out += i_pitch - i_visible_pitch;
-            p_out_v += i_pitch - i_visible_pitch;
+        p_in += i_pitch - i_visible_pitch;
+        p_in_v += i_pitch - i_visible_pitch;
+        p_out += i_pitch - i_visible_pitch;
+        p_out_v += i_pitch - i_visible_pitch;
     }
 
     return VLC_SUCCESS;
@@ -244,7 +244,7 @@ int packed_sat_hue_C( picture_t * p_pic, picture_t * p_outpic, int i_sin,
 
     for( ; p_in < p_in_end ; )
     {
-            p_line_end = p_in + i_visible_pitch - 8 * 4;
+        p_line_end = p_in + i_visible_pitch - 8 * 4;
 
         for( ; p_in < p_line_end ; )
         {
@@ -259,10 +259,10 @@ int packed_sat_hue_C( picture_t * p_pic, picture_t * p_outpic, int i_sin,
             PACKED_WRITE_UV();
         }
 
-            p_in += i_pitch - i_visible_pitch;
-            p_in_v += i_pitch - i_visible_pitch;
-            p_out += i_pitch - i_visible_pitch;
-            p_out_v += i_pitch - i_visible_pitch;
+        p_in += i_pitch - i_visible_pitch;
+        p_in_v += i_pitch - i_visible_pitch;
+        p_out += i_pitch - i_visible_pitch;
+        p_out_v += i_pitch - i_visible_pitch;
     }
 
     return VLC_SUCCESS;