minor fix for ffmpeg

pull/13383/head
Andrey Morozov 14 years ago
parent 750c56cc0e
commit 418bc6dbe9
  1. 6
      modules/highgui/src/cap_ffmpeg_impl.hpp

@ -493,9 +493,9 @@ bool CvCapture_FFMPEG::open( const char* _filename )
avcodec_thread_init(enc, count_threads);
//#ifndef AVMEDIA_TYPE_VIDEO
// #define AVMEDIA_TYPE_VIDEO CODEC_TYPE_VIDEO
//#endif
#ifndef AVMEDIA_TYPE_VIDEO
#define AVMEDIA_TYPE_VIDEO CODEC_TYPE_VIDEO
#endif
if( AVMEDIA_TYPE_VIDEO == enc->codec_type && video_stream < 0) {
AVCodec *codec = avcodec_find_decoder(enc->codec_id);

Loading…
Cancel
Save