[Ffmpeg-devel] [PATCH] Dummy libavcodec/swscale.h should beenclosed in #ifdef __cplusplus

Luca Abeni lucabe72
Sat Aug 19 17:07:15 CEST 2006


Hi Ramiro,

On Fri, 2006-08-18 at 22:12 -0300, Ramiro Polla wrote:
> Hello,
> 
> Since the dummy swscale.h file in libavcodec is part of the external
> API, it should be enclosed in #ifdef __cplusplus.
Uhmm... I was under the impression that the program including an header
is responsible for the extern "C" stuff... But I see that all the public
ffmpeg headers have this #ifdef, so I am committing it.

Thanks for the patch, and sorry for the problem.



			Thanks,
				Luca





More information about the ffmpeg-devel mailing list