diff mbox

[FFmpeg-devel,V1,2/2] lavf/frei0r: Fixes the compilation warnings

Message ID 1555833476-22311-2-git-send-email-mypopydev@gmail.com
State Accepted
Commit b272d5b9b6e189cb855ad393edf8524066bd0d07
Headers show

Commit Message

Jun Zhao April 21, 2019, 7:57 a.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, 8:01 a.m. UTC | #1
Subject should be lavfi/frei0r....

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".
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;
     }