OSDN Git Service

Make the opaque init parameter non-const.
authorVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 22:13:13 +0000 (22:13 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 22:13:13 +0000 (22:13 +0000)
Commited in SoC by Bobby Bingham on 2007-07-30 18:53:17

Originally committed as revision 12089 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/avfilter.h

index 0dd0a32..b42f5b4 100644 (file)
@@ -169,7 +169,7 @@ typedef struct
      * opaque is data provided by the code requesting creation of the filter,
      * and is used to pass data to the filter.
      */
-    int (*init)(AVFilterContext *ctx, const char *args, const void *opaque);
+    int (*init)(AVFilterContext *ctx, const char *args, void *opaque);
     void (*uninit)(AVFilterContext *ctx);
 
     const AVFilterPad *inputs;  /// NULL terminated list of inputs. NULL if none