Michael Chisholm <chisholm@...> writes:

> So my point to all this is, the ffmpeg-2.0.1 headers 
> aren't completely C++-friendly

I don't think this is correct as such:
The headers are neither C++-friendly nor C++-unfriendly, 
they are simply C headers and exactly the same 
limitations apply than when using any other (non-trivial) 
C headers from a C++ program.

The fact that some explicit casting is necessary 
in C++ is completely orthogonal to the C++- 
"friendliness" of the FFmpeg headers afaict.

Do I understand correctly that you cannot use the 
av_ts2timestr() macro from C++ but that it is not 
used inside of FFmpeg in a way that makes using 
one of the libraries or one of the headers 
impossible?
(If you know how to fix it, consider sending a 
patch, assuming it does not slow down the macro 
for C, such a change is useful imo.)

Carl Eugen

_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to