[FFmpeg-cvslog] lavfi/asyncts: Fix compilation with GCC 4.7

Thomas Weber git at videolan.org
Tue Aug 21 00:19:56 CEST 2012


ffmpeg | branch: master | Thomas Weber <nickpages at gmx.de> | Mon Aug 20 22:54:03 2012 +0200| [1c585dddbbe2c0c64d35c6cf4a7cf8474716f85b] | committer: Michael Niedermayer

lavfi/asyncts: Fix compilation with GCC 4.7

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1c585dddbbe2c0c64d35c6cf4a7cf8474716f85b
---

 libavfilter/af_asyncts.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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-cvslog mailing list