diff --git a/modules/highgui/src/cap_ffmpeg_impl.hpp b/modules/highgui/src/cap_ffmpeg_impl.hpp index e551b4da2c..a5a9392b23 100644 --- a/modules/highgui/src/cap_ffmpeg_impl.hpp +++ b/modules/highgui/src/cap_ffmpeg_impl.hpp @@ -40,7 +40,6 @@ //M*/ #include "cap_ffmpeg_api.hpp" -#include "ffmpeg_codecs.hpp" #include #include @@ -65,6 +64,8 @@ extern "C" { #include #endif +#include "ffmpeg_codecs.hpp" + #ifdef WIN32 #define HAVE_FFMPEG_SWSCALE 1 #include