diff --git a/modules/highgui/src/cap_ffmpeg_impl.hpp b/modules/highgui/src/cap_ffmpeg_impl.hpp index fe68e79059..70e44ef684 100644 --- a/modules/highgui/src/cap_ffmpeg_impl.hpp +++ b/modules/highgui/src/cap_ffmpeg_impl.hpp @@ -1381,7 +1381,7 @@ bool CvVideoWriter_FFMPEG::open( const char * filename, int fourcc, assert(width > 0 && height > 0); // tell FFMPEG to register codecs - av_register_all (); + av_register_all(); /* auto detect the output format from the name and fourcc code. */