diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
index 613f501..dfd02e1 100644
a
|
b
|
int AvFormatDecoder::FindStreamInfo(void) |
1021 | 1021 | silence_ffmpeg_logging = true; |
1022 | 1022 | int retval = avformat_find_stream_info(ic, NULL); |
1023 | 1023 | silence_ffmpeg_logging = false; |
| 1024 | // ffmpeg 3.0 is returning -1 code when there is a channel |
| 1025 | // change or some encoding error just after the start |
| 1026 | // of the file, but is has found the correct stream info |
| 1027 | // Set rc to 0 so that playing can continue. |
| 1028 | if (retval == -1) |
| 1029 | retval = 0; |
1024 | 1030 | return retval; |
1025 | 1031 | } |
1026 | 1032 | |