[SCM] libav/experimental: Make the opaque init parameter non-const.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:14:53 UTC 2013


The following commit has been merged in the experimental branch:
commit 95bcf498851e1fe2c332401b6864db267365a060
Author: Vitor Sessak <vitor1001 at gmail.com>
Date:   Fri Feb 15 22:13:13 2008 +0000

    Make the opaque init parameter non-const.
    
    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

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 0dd0a32..b42f5b4 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list