Changes between Version 1 and Version 2 of Including FFmpeg headers in a C++ application


Ignore:
Timestamp:
Jan 13, 2013, 9:32:46 PM (4 years ago)
Author:
saste
Comment:

add code markup

Legend:

Unmodified
Added
Removed
Modified
  • Including FFmpeg headers in a C++ application

    v1 v2  
    33Anyway, for most purposes, including FFmpeg headers in a C++ application should be rather straightforward. 
    44 
    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: 
     5First, 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: 
    66{{{ 
    77extern "C" {