From df6279e73701ae56da7d39cd0c4db54efad9cf01 Mon Sep 17 00:00:00 2001 From: Stephen Hutchinson Date: Mon, 28 Oct 2013 16:52:48 -0400 Subject: [PATCH] avisynth: Remove a couple of useless AviSynthContext casts Signed-off-by: Michael Niedermayer --- libavformat/avisynth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c index 48f9f76fac..8268ba79ac 100644 --- a/libavformat/avisynth.c +++ b/libavformat/avisynth.c @@ -155,7 +155,7 @@ init_fail: * by libavformat. */ static av_cold int avisynth_context_create(AVFormatContext *s) { - AviSynthContext *avs = (AviSynthContext *)s->priv_data; + AviSynthContext *avs = s->priv_data; int ret; if (!avs_library) @@ -361,7 +361,7 @@ static int avisynth_create_stream(AVFormatContext *s) static int avisynth_open_file(AVFormatContext *s) { - AviSynthContext *avs = (AviSynthContext *)s->priv_data; + AviSynthContext *avs = s->priv_data; AVS_Value arg, val; int ret; #ifdef USING_AVISYNTH