[FFmpeg-devel] [PATCH 06/11] avisynth: Remove a couple of useless AviSynthContext casts

Stephen Hutchinson qyot27 at gmail.com
Mon Oct 28 21:52:48 CET 2013


---
 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
-- 
1.8.3.2



More information about the ffmpeg-devel mailing list