List Info

Thread: linphone-cvs/mediastreamer2/src/videoout.c fix missing include ffmpeg/




linphone-cvs/mediastreamer2/src/videoou t.c fix missing include ffmpeg/
country flaguser name
Germany
2008-01-19 07:45:34
code base
---------
linphone CVS, fetched 19.01.2008
ffmpeg r6104
http://www.pengutronix.de/software/
ptxdist/temporary-src/ffmpeg-r6104.tar.bz2

error
-----
In file included from videoout.c:25:
/usr/include/ffmpeg/swscale.h:24: error: field 'src_pix_fmt'
has 
incomplete type
/usr/include/ffmpeg/swscale.h:24: error: field 'dst_pix_fmt'
has 
incomplete type

cause
-----
Referenced "enum PixelFormat src_pix_fmt,
dst_pix_fmt;" is declared in 
ffmpeg/avcodec.h, which is not include before
ffmpeg/swscale.h.

fix
---
Include ffmpeg/avcodec.h before ffmpeg/swscale.h.
See attached patch.
Attn.: Base path in patch is "linphone-2.0.1"
despite it's the CVS 
version. Just laziness because of used buildroot system.


-- 

carpe noctem engineering
Ingenieurbuero fuer Hard- & Software-Entwicklung Andreas
Pretzsch
Dipl.-Ing. (FH) Andreas Pretzsch                 Tel.
0731/98588-800
Marlene-Dietrich-Strasse 5                       Fax:
0731/98588-801
89231 Neu-Ulm                                    email:
aprcn-eng.de

_______________________________________________
Linphone-developers mailing list
Linphone-developersnongnu.org
http://lists.nongnu.org/mailman/listinfo/linphone-de
velopers

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )