fixed -Wunused-result warning

pull/6689/head
Ilya Lavrenov 9 years ago
parent 77849d0033
commit e0d64df763
  1. 3
      modules/highgui/src/cap_ffmpeg_impl.hpp

@ -2287,7 +2287,8 @@ bool OutputMediaStream_FFMPEG::open(const char* fileName, int width, int height,
#if LIBAVFORMAT_BUILD < CALC_FFMPEG_VERSION(53, 2, 0) #if LIBAVFORMAT_BUILD < CALC_FFMPEG_VERSION(53, 2, 0)
av_write_header(oc_); av_write_header(oc_);
#else #else
avformat_write_header(oc_, NULL); if (avformat_write_header(oc_, NULL) != 0)
return false;
#endif #endif
return true; return true;

Loading…
Cancel
Save