Hello! I want to develop my own container. So i started to write own muxer. I wrote write_header, write_packet and write_trailer functions and created muxer_context. Also i've edit Makefile and allformats.h like in ffmpeg documentation. But when i want to compile my source to object file i got next compilation error: error: initializer element is not constant error: (near initialization for ‘mycont_muxer.long_name’) It's about NULL_IF_CONFIG_SMALL macro, when i try to declare muxer context. I thought, that i didn't include this macro(but afaik this macro locates in internal.h file, which i've included) and i tried to recompile flvenc.c to get some tests and got same error! So now i understand that i'm doing something wrong and i think my mistake is in the way i try to compile this: gcc -c -fPIC ./flvenc.c -o ./flvenc.o
What am i doing wrong? Thanks for any help! _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
