diff mbox

[FFmpeg-devel,V2] lavfi/frei0r: Fixes the compilation warnings

Message ID 1555850330-28520-1-git-send-email-mypopydev@gmail.com
State New
Headers show

Commit Message

Jun Zhao April 21, 2019, 12:38 p.m. UTC
From: Jun Zhao <barryjzhao@tencent.com>

Fixes the compilation warnings

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
---
 libavfilter/vf_frei0r.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Paul B Mahol April 21, 2019, 12:57 p.m. UTC | #1
On 4/21/19, Jun Zhao <mypopydev@gmail.com> wrote:
> From: Jun Zhao <barryjzhao@tencent.com>
>
> Fixes the compilation warnings
>
> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
> ---
>  libavfilter/vf_frei0r.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
> index c775ed1..165fbd7 100644
> --- a/libavfilter/vf_frei0r.c
> +++ b/libavfilter/vf_frei0r.c
> @@ -127,7 +127,7 @@ static int set_param(AVFilterContext *ctx,
> f0r_param_info_t info, int index, cha
>          break;
>
>      case F0R_PARAM_STRING:
> -        val.str = param;
> +        val.str = (f0r_param_string *)param;
>          break;
>      }
>
> --
> 1.7.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

lgtm
Jun Zhao April 23, 2019, 1:51 a.m. UTC | #2
On Sun, Apr 21, 2019 at 9:03 PM Paul B Mahol <onemda@gmail.com> wrote:
>
> On 4/21/19, Jun Zhao <mypopydev@gmail.com> wrote:
> > From: Jun Zhao <barryjzhao@tencent.com>
> >
> > Fixes the compilation warnings
> >
> > Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
> > ---
> >  libavfilter/vf_frei0r.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
> > index c775ed1..165fbd7 100644
> > --- a/libavfilter/vf_frei0r.c
> > +++ b/libavfilter/vf_frei0r.c
> > @@ -127,7 +127,7 @@ static int set_param(AVFilterContext *ctx,
> > f0r_param_info_t info, int index, cha
> >          break;
> >
> >      case F0R_PARAM_STRING:
> > -        val.str = param;
> > +        val.str = (f0r_param_string *)param;
> >          break;
> >      }
> >
> > --
> > 1.7.1
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
>
> lgtm
Pushed, Thanks the review and comment.
diff mbox

Patch

diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
index c775ed1..165fbd7 100644
--- a/libavfilter/vf_frei0r.c
+++ b/libavfilter/vf_frei0r.c
@@ -127,7 +127,7 @@  static int set_param(AVFilterContext *ctx, f0r_param_info_t info, int index, cha
         break;
 
     case F0R_PARAM_STRING:
-        val.str = param;
+        val.str = (f0r_param_string *)param;
         break;
     }