Changes between Version 1 and Version 2 of Including FFmpeg headers in a C++ application
- Timestamp:
- Jan 13, 2013, 7:32:46 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Including FFmpeg headers in a C++ application
v1 v2 3 3 Anyway, for most purposes, including FFmpeg headers in a C++ application should be rather straightforward. 4 4 5 First, to include the FFmpeg headers within your C++ application you need to explicitly state that you are including C code. You can do this by encompassing your FFmpeg includes using extern "C", like in:5 First, to include the FFmpeg headers within your C++ application you need to explicitly state that you are including C code. You can do this by encompassing your FFmpeg includes using {{{extern "C"}}}, like in: 6 6 {{{ 7 7 extern "C" {
