[FFmpeg-cvslog] avisynth: Remove a couple of useless AviSynthContext casts

Stephen Hutchinson git at videolan.org
Mon Oct 28 22:38:05 CET 2013


ffmpeg | branch: master | Stephen Hutchinson <qyot27 at gmail.com> | Mon Oct 28 16:52:48 2013 -0400| [df6279e73701ae56da7d39cd0c4db54efad9cf01] | committer: Michael Niedermayer

avisynth: Remove a couple of useless AviSynthContext casts

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df6279e73701ae56da7d39cd0c4db54efad9cf01
---

 libavformat/avisynth.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
index 48f9f76..8268ba7 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



More information about the ffmpeg-cvslog mailing list