[Ffmpeg-devel] Re: movenc.c depends on mov.c

Baptiste Coudurier baptiste.coudurier
Mon Jul 31 23:29:35 CEST 2006


Hi

Ramiro Polla wrote:
> Hello,
> 
> When I run "./configure --enable-memalign-hack --enable-shared
> --disable-static --disable-decoders --disable-parsers
> --disable-demuxers", I get an error of undefined reference to
> `ff_mov_obj_type' and to `ff_mov_iso639_to_lang' from movenc.c while
> linking libavcodec.
> 
> Yes, I do want to produce ffmpeg with no decoding support, since I will
> create and provide the data (just like output_example does).
> 
> Those symbols both exist in mov.c, and are declared as externs in mov.h.
> Since I chose not to decode anything, mov.c is not compiled, and
> movenc.c can't find the symbols. Could the maintainers of movenc.c try
> to fix this, please?
> 
> Thanks,
> Ramiro Polla

Attached patch should fix the problem. It creates isom.c and rename
mov.h to isom.h to hold common code between muxer and demuxer.

Further variables renaming might be adequate.

Mans, Diego, what do you think ? If it's ok could one of you please
apply that patch ? Im not familiar with file renaming yet.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: isom.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060731/35add159/attachment.txt>



More information about the ffmpeg-devel mailing list