[FFmpeg-devel] [PATCH] lavfi/asyncts: Fix compilation with GCC 4.7
Thomas Weber
nickpages at gmx.de
Mon Aug 20 22:54:03 CEST 2012
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’)
-------------- next part --------------
diff --git a/libavfilter/af_asyncts.c b/libavfilter/af_asyncts.c
index b139d0d..9f16e8a 100644
--- a/libavfilter/af_asyncts.c
+++ b/libavfilter/af_asyncts.c
@@ -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,
};
More information about the ffmpeg-devel
mailing list