[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] [PATCH] linphone-cvs/mediastreamer2/src/videoout.c

From: Andreas Pretzsch
Subject: [Linphone-developers] [PATCH] linphone-cvs/mediastreamer2/src/videoout.c fix missing include ffmpeg/avcodec.h
Date: Sat, 19 Jan 2008 14:45:34 +0100
User-agent: KMail/1.9.5

code base
linphone CVS, fetched 19.01.2008
ffmpeg r6104

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

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

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: address@hidden

Attachment: mediastreamer_src_videoout.c_include_avcodec.h.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]