[MPlayer-dev-eng] Re: [PATCH] SSA/ASS subtitles support
Ergzay
ergzay at everyoneproductions.com
Thu Jun 15 13:08:12 CEST 2006
On 2006/06/14, at 5:09, Evgeniy Stepanov wrote:
> Several bugfixes.
>
> Btw, since the previous patch all ass-specific stuff (rendering and
> processing) is done under "if (ass_enabled)". This means that not
> giving -ass
> option disables all possible bugs in my code (except for compilation
> errors,
> of course).
This is my first time compiling mplayer with this and I am not a
developer, but considering this isn't in the repository yet I thought I
should post this bug report here. It fails to compile upon reaching
vf_ass.c
gcc version 3.3
libtool version 1.5
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -mcpu=7450
-mtune=7450 -pipe -ffast-math -fomit-frame-pointer -faltivec
-D__APPLE_ALTIVEC__ -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN
-DCONFIG_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I. -I.. -Inative -I../libmpdemux -I../loader
-I../libavutil -I../libavcodec -D_GNU_SOURCE -o vf_ass.o vf_ass.c
In file included from vf_ass.c:452:
vf.h:5: error: redefinition of `struct vf_info_s'
vf.h:13: error: redefinition of `vf_info_t'
vf.h:13: error: `vf_info_t' previously declared here
vf.h:15: error: redefinition of `struct vf_image_context_s'
vf.h:20: error: redefinition of `vf_image_context_t'
vf.h:20: error: `vf_image_context_t' previously declared here
vf.h:22: error: redefinition of `struct vf_format_context_t'
vf.h:25: error: redefinition of `vf_format_context_t'
vf.h:25: error: `vf_format_context_t' previously declared here
vf.h:27: error: redefinition of `struct vf_instance_s'
vf.h:56: error: redefinition of `vf_instance_t'
vf.h:56: error: `vf_instance_t' previously declared here
vf.h:62: error: redefinition of `struct vf_seteq_s'
vf.h:65: error: redefinition of `vf_equalizer_t'
vf.h:65: error: `vf_equalizer_t' previously declared here
vf_ass.c:471: error: redefinition of `struct vf_priv_s'
vf_ass.c:484: error: redefinition of `vf_priv_dflt'
vf_ass.c:46: error: `vf_priv_dflt' previously defined here
vf_ass.c:506: error: redefinition of `config'
vf_ass.c:68: error: `config' previously defined here
vf_ass.c:539: error: redefinition of `get_image'
vf_ass.c:101: error: `get_image' previously defined here
vf_ass.c:574: error: redefinition of `blank'
vf_ass.c:136: error: `blank' previously defined here
vf_ass.c:598: error: redefinition of `prepare_image'
vf_ass.c:160: error: `prepare_image' previously defined here
vf_ass.c:646: error: redefinition of `copy_from_image'
vf_ass.c:208: error: `copy_from_image' previously defined here
vf_ass.c:688: error: redefinition of `copy_to_image'
vf_ass.c:250: error: `copy_to_image' previously defined here
vf_ass.c:719: error: redefinition of `my_draw_bitmap'
vf_ass.c:281: error: `my_draw_bitmap' previously defined here
vf_ass.c:766: error: redefinition of `render_frame'
vf_ass.c:328: error: `render_frame' previously defined here
vf_ass.c:781: error: redefinition of `put_image'
vf_ass.c:343: error: `put_image' previously defined here
vf_ass.c:793: error: redefinition of `query_format'
vf_ass.c:355: error: `query_format' previously defined here
vf_ass.c:804: error: redefinition of `control'
vf_ass.c:366: error: `control' previously defined here
vf_ass.c:818: error: redefinition of `uninit'
vf_ass.c:380: error: `uninit' previously defined here
vf_ass.c:823: error: redefinition of `fmt_list'
vf_ass.c:385: error: `fmt_list' previously defined here
vf_ass.c:831: error: redefinition of `open'
vf_ass.c:393: error: `open' previously defined here
vf_ass.c:856: error: redefinition of `vf_opts_fields'
vf_ass.c:418: error: `vf_opts_fields' previously defined here
vf_ass.c:861: error: redefinition of `vf_opts'
vf_ass.c:423: error: `vf_opts' previously defined here
vf_ass.c:868: error: redefinition of `vf_info_ass'
vf_ass.c:430: error: `vf_info_ass' previously defined here
In file included from vf_ass.c:890:
vf.h:5: error: redefinition of `struct vf_info_s'
vf.h:13: error: redefinition of `vf_info_t'
vf.h:13: error: `vf_info_t' previously declared here
vf.h:15: error: redefinition of `struct vf_image_context_s'
vf.h:20: error: redefinition of `vf_image_context_t'
vf.h:20: error: `vf_image_context_t' previously declared here
vf.h:22: error: redefinition of `struct vf_format_context_t'
vf.h:25: error: redefinition of `vf_format_context_t'
vf.h:25: error: `vf_format_context_t' previously declared here
vf.h:27: error: redefinition of `struct vf_instance_s'
vf.h:56: error: redefinition of `vf_instance_t'
vf.h:56: error: `vf_instance_t' previously declared here
vf.h:62: error: redefinition of `struct vf_seteq_s'
vf.h:65: error: redefinition of `vf_equalizer_t'
vf.h:65: error: `vf_equalizer_t' previously declared here
vf_ass.c:909: error: redefinition of `struct vf_priv_s'
vf_ass.c:922: error: redefinition of `vf_priv_dflt'
vf_ass.c:484: error: `vf_priv_dflt' previously defined here
vf_ass.c:944: error: redefinition of `config'
vf_ass.c:506: error: `config' previously defined here
vf_ass.c:977: error: redefinition of `get_image'
vf_ass.c:539: error: `get_image' previously defined here
vf_ass.c:1012: error: redefinition of `blank'
vf_ass.c:574: error: `blank' previously defined here
vf_ass.c:1036: error: redefinition of `prepare_image'
vf_ass.c:598: error: `prepare_image' previously defined here
vf_ass.c:1084: error: redefinition of `copy_from_image'
vf_ass.c:646: error: `copy_from_image' previously defined here
vf_ass.c:1126: error: redefinition of `copy_to_image'
vf_ass.c:688: error: `copy_to_image' previously defined here
vf_ass.c:1157: error: redefinition of `my_draw_bitmap'
vf_ass.c:719: error: `my_draw_bitmap' previously defined here
vf_ass.c:1204: error: redefinition of `render_frame'
vf_ass.c:766: error: `render_frame' previously defined here
vf_ass.c:1219: error: redefinition of `put_image'
vf_ass.c:781: error: `put_image' previously defined here
vf_ass.c:1231: error: redefinition of `query_format'
vf_ass.c:793: error: `query_format' previously defined here
vf_ass.c:1242: error: redefinition of `control'
vf_ass.c:804: error: `control' previously defined here
vf_ass.c:1256: error: redefinition of `uninit'
vf_ass.c:818: error: `uninit' previously defined here
vf_ass.c:1261: error: redefinition of `fmt_list'
vf_ass.c:823: error: `fmt_list' previously defined here
vf_ass.c:1269: error: redefinition of `open'
vf_ass.c:831: error: `open' previously defined here
vf_ass.c:1294: error: redefinition of `vf_opts_fields'
vf_ass.c:856: error: `vf_opts_fields' previously defined here
vf_ass.c:1299: error: redefinition of `vf_opts'
vf_ass.c:861: error: `vf_opts' previously defined here
vf_ass.c:1306: error: redefinition of `vf_info_ass'
vf_ass.c:868: error: `vf_info_ass' previously defined here
In file included from vf_ass.c:1328:
vf.h:5: error: redefinition of `struct vf_info_s'
vf.h:13: error: redefinition of `vf_info_t'
vf.h:13: error: `vf_info_t' previously declared here
vf.h:15: error: redefinition of `struct vf_image_context_s'
vf.h:20: error: redefinition of `vf_image_context_t'
vf.h:20: error: `vf_image_context_t' previously declared here
vf.h:22: error: redefinition of `struct vf_format_context_t'
vf.h:25: error: redefinition of `vf_format_context_t'
vf.h:25: error: `vf_format_context_t' previously declared here
vf.h:27: error: redefinition of `struct vf_instance_s'
vf.h:56: error: redefinition of `vf_instance_t'
vf.h:56: error: `vf_instance_t' previously declared here
vf.h:62: error: redefinition of `struct vf_seteq_s'
vf.h:65: error: redefinition of `vf_equalizer_t'
vf.h:65: error: `vf_equalizer_t' previously declared here
vf_ass.c:1347: error: redefinition of `struct vf_priv_s'
vf_ass.c:1360: error: redefinition of `vf_priv_dflt'
vf_ass.c:922: error: `vf_priv_dflt' previously defined here
vf_ass.c:1382: error: redefinition of `config'
vf_ass.c:944: error: `config' previously defined here
vf_ass.c:1415: error: redefinition of `get_image'
vf_ass.c:977: error: `get_image' previously defined here
vf_ass.c:1450: error: redefinition of `blank'
vf_ass.c:1012: error: `blank' previously defined here
vf_ass.c:1474: error: redefinition of `prepare_image'
vf_ass.c:1036: error: `prepare_image' previously defined here
vf_ass.c:1522: error: redefinition of `copy_from_image'
vf_ass.c:1084: error: `copy_from_image' previously defined here
vf_ass.c:1564: error: redefinition of `copy_to_image'
vf_ass.c:1126: error: `copy_to_image' previously defined here
vf_ass.c:1595: error: redefinition of `my_draw_bitmap'
vf_ass.c:1157: error: `my_draw_bitmap' previously defined here
vf_ass.c:1642: error: redefinition of `render_frame'
vf_ass.c:1204: error: `render_frame' previously defined here
vf_ass.c:1657: error: redefinition of `put_image'
vf_ass.c:1219: error: `put_image' previously defined here
vf_ass.c:1669: error: redefinition of `query_format'
vf_ass.c:1231: error: `query_format' previously defined here
vf_ass.c:1680: error: redefinition of `control'
vf_ass.c:1242: error: `control' previously defined here
vf_ass.c:1694: error: redefinition of `uninit'
vf_ass.c:1256: error: `uninit' previously defined here
vf_ass.c:1699: error: redefinition of `fmt_list'
vf_ass.c:1261: error: `fmt_list' previously defined here
vf_ass.c:1707: error: redefinition of `open'
vf_ass.c:1269: error: `open' previously defined here
vf_ass.c:1732: error: redefinition of `vf_opts_fields'
vf_ass.c:1294: error: `vf_opts_fields' previously defined here
vf_ass.c:1737: error: redefinition of `vf_opts'
vf_ass.c:1299: error: `vf_opts' previously defined here
vf_ass.c:1744: error: redefinition of `vf_info_ass'
vf_ass.c:1306: error: `vf_info_ass' previously defined here
In file included from vf_ass.c:1766:
vf.h:5: error: redefinition of `struct vf_info_s'
vf.h:13: error: redefinition of `vf_info_t'
vf.h:13: error: `vf_info_t' previously declared here
vf.h:15: error: redefinition of `struct vf_image_context_s'
vf.h:20: error: redefinition of `vf_image_context_t'
vf.h:20: error: `vf_image_context_t' previously declared here
vf.h:22: error: redefinition of `struct vf_format_context_t'
vf.h:25: error: redefinition of `vf_format_context_t'
vf.h:25: error: `vf_format_context_t' previously declared here
vf.h:27: error: redefinition of `struct vf_instance_s'
vf.h:56: error: redefinition of `vf_instance_t'
vf.h:56: error: `vf_instance_t' previously declared here
vf.h:62: error: redefinition of `struct vf_seteq_s'
vf.h:65: error: redefinition of `vf_equalizer_t'
vf.h:65: error: `vf_equalizer_t' previously declared here
vf_ass.c:1785: error: redefinition of `struct vf_priv_s'
vf_ass.c:1798: error: redefinition of `vf_priv_dflt'
vf_ass.c:1360: error: `vf_priv_dflt' previously defined here
vf_ass.c:1820: error: redefinition of `config'
vf_ass.c:1382: error: `config' previously defined here
vf_ass.c:1853: error: redefinition of `get_image'
vf_ass.c:1415: error: `get_image' previously defined here
vf_ass.c:1888: error: redefinition of `blank'
vf_ass.c:1450: error: `blank' previously defined here
vf_ass.c:1912: error: redefinition of `prepare_image'
vf_ass.c:1474: error: `prepare_image' previously defined here
vf_ass.c:1960: error: redefinition of `copy_from_image'
vf_ass.c:1522: error: `copy_from_image' previously defined here
vf_ass.c:2002: error: redefinition of `copy_to_image'
vf_ass.c:1564: error: `copy_to_image' previously defined here
vf_ass.c:2033: error: redefinition of `my_draw_bitmap'
vf_ass.c:1595: error: `my_draw_bitmap' previously defined here
vf_ass.c:2080: error: redefinition of `render_frame'
vf_ass.c:1642: error: `render_frame' previously defined here
vf_ass.c:2095: error: redefinition of `put_image'
vf_ass.c:1657: error: `put_image' previously defined here
vf_ass.c:2107: error: redefinition of `query_format'
vf_ass.c:1669: error: `query_format' previously defined here
vf_ass.c:2118: error: redefinition of `control'
vf_ass.c:1680: error: `control' previously defined here
vf_ass.c:2132: error: redefinition of `uninit'
vf_ass.c:1694: error: `uninit' previously defined here
vf_ass.c:2137: error: redefinition of `fmt_list'
vf_ass.c:1699: error: `fmt_list' previously defined here
vf_ass.c:2145: error: redefinition of `open'
vf_ass.c:1707: error: `open' previously defined here
vf_ass.c:2170: error: redefinition of `vf_opts_fields'
vf_ass.c:1732: error: `vf_opts_fields' previously defined here
vf_ass.c:2175: error: redefinition of `vf_opts'
vf_ass.c:1737: error: `vf_opts' previously defined here
vf_ass.c:2182: error: redefinition of `vf_info_ass'
vf_ass.c:1744: error: `vf_info_ass' previously defined here
In file included from vf_ass.c:2204:
vf.h:5: error: redefinition of `struct vf_info_s'
vf.h:13: error: redefinition of `vf_info_t'
vf.h:13: error: `vf_info_t' previously declared here
vf.h:15: error: redefinition of `struct vf_image_context_s'
vf.h:20: error: redefinition of `vf_image_context_t'
vf.h:20: error: `vf_image_context_t' previously declared here
vf.h:22: error: redefinition of `struct vf_format_context_t'
vf.h:25: error: redefinition of `vf_format_context_t'
vf.h:25: error: `vf_format_context_t' previously declared here
vf.h:27: error: redefinition of `struct vf_instance_s'
vf.h:56: error: redefinition of `vf_instance_t'
vf.h:56: error: `vf_instance_t' previously declared here
vf.h:62: error: redefinition of `struct vf_seteq_s'
vf.h:65: error: redefinition of `vf_equalizer_t'
vf.h:65: error: `vf_equalizer_t' previously declared here
vf_ass.c:2223: error: redefinition of `struct vf_priv_s'
vf_ass.c:2236: error: redefinition of `vf_priv_dflt'
vf_ass.c:1798: error: `vf_priv_dflt' previously defined here
vf_ass.c:2258: error: redefinition of `config'
vf_ass.c:1820: error: `config' previously defined here
vf_ass.c:2291: error: redefinition of `get_image'
vf_ass.c:1853: error: `get_image' previously defined here
vf_ass.c:2326: error: redefinition of `blank'
vf_ass.c:1888: error: `blank' previously defined here
vf_ass.c:2350: error: redefinition of `prepare_image'
vf_ass.c:1912: error: `prepare_image' previously defined here
vf_ass.c:2398: error: redefinition of `copy_from_image'
vf_ass.c:1960: error: `copy_from_image' previously defined here
vf_ass.c:2440: error: redefinition of `copy_to_image'
vf_ass.c:2002: error: `copy_to_image' previously defined here
vf_ass.c:2471: error: redefinition of `my_draw_bitmap'
vf_ass.c:2033: error: `my_draw_bitmap' previously defined here
vf_ass.c:2518: error: redefinition of `render_frame'
vf_ass.c:2080: error: `render_frame' previously defined here
vf_ass.c:2533: error: redefinition of `put_image'
vf_ass.c:2095: error: `put_image' previously defined here
vf_ass.c:2545: error: redefinition of `query_format'
vf_ass.c:2107: error: `query_format' previously defined here
vf_ass.c:2556: error: redefinition of `control'
vf_ass.c:2118: error: `control' previously defined here
vf_ass.c:2570: error: redefinition of `uninit'
vf_ass.c:2132: error: `uninit' previously defined here
vf_ass.c:2575: error: redefinition of `fmt_list'
vf_ass.c:2137: error: `fmt_list' previously defined here
vf_ass.c:2583: error: redefinition of `open'
vf_ass.c:2145: error: `open' previously defined here
vf_ass.c:2608: error: redefinition of `vf_opts_fields'
vf_ass.c:2170: error: `vf_opts_fields' previously defined here
vf_ass.c:2613: error: redefinition of `vf_opts'
vf_ass.c:2175: error: `vf_opts' previously defined here
vf_ass.c:2620: error: redefinition of `vf_info_ass'
vf_ass.c:2182: error: `vf_info_ass' previously defined here
{standard input}:74:Ignoring attempt to re-define symbol.
{standard input}:76:FATAL:Symbol _fmt_list already defined.
make[1]: *** [vf_ass.o] Error 1
make: *** [libmpcodecs/libmpcodecs.a] Error 2
More information about the MPlayer-dev-eng
mailing list