[FFmpeg-devel] [RFC] move H.263 parser to its own file

Diego Biurrun diego
Wed May 9 19:41:21 CEST 2007


*Please* don't top-post.

On Wed, May 09, 2007 at 08:05:56AM -0400, Jason Millard wrote:
> 
> On 5/9/07, Diego Biurrun <diego at biurrun.de> wrote:
> >
> > On Wed, May 09, 2007 at 02:26:48AM +0200, Aurelien Jacobs wrote:
> > > On Wed, 9 May 2007 01:52:59 +0200
> > > Diego Biurrun <diego at biurrun.de> wrote:
> > > >
> > > > What about fixing dependencies and conditionally compiling h263dec.cas
> > > > well?
> > >
> > > That would be nice. The problem is that almost every video codec has a
> > > dependency (direct or indirect) over some code in h263dec.c.
> > > Splitting it properly and fixing dependencies seems quite hard.
> > > If you want to try to do it, that's great. Else I think that moving
> > > ff_h263_find_frame_end() back to h263dec.c is the right thing to do.
> >
> > My try has just hit HEAD.  I'm sure it can still be improved, but it
> > should be a start.  Let me know any problems or suggestions for
> > improvement you notice.
> >
> Not sure if this is related (guess it is), but now there are new reference
> issues:
> 
> gcc -L"/c/ffmpeg-05-09-07"/libavformat -L"/c/ffmpeg-05-09-07"/libavcodec
> -L"/c/ffmpeg-05-09-07"/libavutil -Wl,--warn-common  -L/usr/local/lib
> -Wl,-rpath-link,"/c/ffmpeg-05-09-07"/libavcodec
> -Wl,-rpath-link,"/c/ffmpeg-05-09-07"/libavformat
> -Wl,-rpath-link,"/c/ffmpeg-05-09-07"/libavutil -g -o ffmpeg_g.exe ffmpeg.o
> cmdutils.o -lavformat -lavcodec -lavutil -lws2_32 -lm -lmp3lame -lm
> c:/ffmpeg-05-09-07/libavcodec/libavcodec.a(mpegvideo.o):mpegvideo.c:(.text+0x28de):
> undefined reference to `ff_msmpeg4_encode_init'
> c:/ffmpeg-05-09-07/libavcodec/libavcodec.a(mpegvideo.o):mpegvideo.c:(.text+0x6f95):
> undefined reference to `ff_mspel_motion'
> c:/ffmpeg-05-09-07/libavcodec/libavcodec.a(mpegvideo.o):mpegvideo.c:(.text+0x97d5):
> undefined reference to `ff_wmv2_add_mb'
> c:/ffmpeg-05-09-07/libavcodec/libavcodec.a(mpegvideo.o):mpegvideo.c:(.text+0xc25f):
> undefined reference to `ff_wmv2_encode_picture_header'
> c:/ffmpeg-05-09-07/libavcodec/libavcodec.a(mpegvideo.o):mpegvideo.c:(.text+0xc271):
> undefined reference to `msmpeg4_encode_picture_header'
> c:/ffmpeg-05-09-07/libavcodec/libavcodec.a(mpegvideo.o):mpegvideo.c:(.text+0xf335):
> undefined reference to `msmpeg4_encode_mb'
> c:/ffmpeg-05-09-07/libavcodec/libavcodec.a(mpegvideo.o):mpegvideo.c:(.text+0xf358):
> undefined reference to `ff_wmv2_encode_mb'
> c:/ffmpeg-05-09-07/libavcodec/libavcodec.a(mpegvideo.o):mpegvideo.c:(.text+0x115af):
> undefined reference to `msmpeg4_encode_ext_header'
> collect2: ld returned 1 exit status
> make: *** [ffmpeg_g.exe] Error 1

What was the configure line you used?

Diego




More information about the ffmpeg-devel mailing list