Message ID | 1555850330-28520-1-git-send-email-mypopydev@gmail.com |
---|---|
State | New |
Headers | show |
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
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 --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; }