avisynth: Remove a couple of useless AviSynthContext casts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Stephen Hutchinson 2013-10-28 16:52:48 -04:00 committed by Michael Niedermayer
parent da9852670c
commit df6279e737

View File

@ -155,7 +155,7 @@ init_fail:
* by libavformat. */ * by libavformat. */
static av_cold int avisynth_context_create(AVFormatContext *s) static av_cold int avisynth_context_create(AVFormatContext *s)
{ {
AviSynthContext *avs = (AviSynthContext *)s->priv_data; AviSynthContext *avs = s->priv_data;
int ret; int ret;
if (!avs_library) if (!avs_library)
@ -361,7 +361,7 @@ static int avisynth_create_stream(AVFormatContext *s)
static int avisynth_open_file(AVFormatContext *s) static int avisynth_open_file(AVFormatContext *s)
{ {
AviSynthContext *avs = (AviSynthContext *)s->priv_data; AviSynthContext *avs = s->priv_data;
AVS_Value arg, val; AVS_Value arg, val;
int ret; int ret;
#ifdef USING_AVISYNTH #ifdef USING_AVISYNTH