From 902e381264173badef5c78154f7aeeca497526d6 Mon Sep 17 00:00:00 2001 From: Dikay900 Date: Sat, 20 Jun 2015 10:17:34 +0200 Subject: [PATCH] fix one dict parameter in ffmpeg implementation (introduced while porting) --- modules/videoio/src/cap_ffmpeg_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/videoio/src/cap_ffmpeg_impl.hpp b/modules/videoio/src/cap_ffmpeg_impl.hpp index 7cc5483d5..93c730a1b 100644 --- a/modules/videoio/src/cap_ffmpeg_impl.hpp +++ b/modules/videoio/src/cap_ffmpeg_impl.hpp @@ -568,7 +568,7 @@ bool CvCapture_FFMPEG::open( const char* _filename ) #if LIBAVFORMAT_BUILD >= CALC_FFMPEG_VERSION(52, 111, 0) av_dict_set(&dict, "rtsp_transport", "tcp", 0); - int err = avformat_open_input(&ic, _filename, NULL, NULL); + int err = avformat_open_input(&ic, _filename, NULL, &dict); #else int err = av_open_input_file(&ic, _filename, NULL, 0, NULL); #endif