Commit 067e6323 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_v360: fix some small code style issues

parent 6037dfa4
...@@ -875,8 +875,8 @@ static void xyz_to_cube(const V360Context *s, ...@@ -875,8 +875,8 @@ static void xyz_to_cube(const V360Context *s,
* @param face face position on cubemap * @param face face position on cubemap
*/ */
static void process_cube_coordinates(const V360Context *s, static void process_cube_coordinates(const V360Context *s,
float uf, float vf, int direction, float uf, float vf, int direction,
float *new_uf, float *new_vf, int *face) float *new_uf, float *new_vf, int *face)
{ {
/* /*
* Cubemap orientation * Cubemap orientation
...@@ -1963,8 +1963,7 @@ static inline void set_mirror_modifier(int h_flip, int v_flip, int d_flip, ...@@ -1963,8 +1963,7 @@ static inline void set_mirror_modifier(int h_flip, int v_flip, int d_flip,
modifier[2] = d_flip ? -1.f : 1.f; modifier[2] = d_flip ? -1.f : 1.f;
} }
static inline void mirror(const float *modifier, static inline void mirror(const float *modifier, float *vec)
float *vec)
{ {
vec[0] *= modifier[0]; vec[0] *= modifier[0];
vec[1] *= modifier[1]; vec[1] *= modifier[1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment