lavfi/asyncts: Fix compilation with GCC 4.7
authorThomas Weber <nickpages@gmx.de>
Mon, 20 Aug 2012 20:54:03 +0000 (22:54 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 20 Aug 2012 22:19:13 +0000 (00:19 +0200)
Compilation failed since commit 42d621d131a45fb63571ca6029c2fc4f02811c10
Error messages:
libavfilter/af_asyncts.c:249:5: error: initializer element is not
computable at load time
libavfilter/af_asyncts.c:249:5: error: (near initialization for
‘avfilter_af_asyncts.priv_size’)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/af_asyncts.c

index b139d0d..9f16e8a 100644 (file)
@@ -246,5 +246,5 @@ AVFilter avfilter_af_asyncts = {
                                             .config_props   = config_props,
                                             .request_frame  = request_frame },
                                           { NULL }},
-    .priv_size = &asyncts_class,
+    .priv_class = &asyncts_class,
 };