diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
index ef3878b630..6e27b07042 100644
a
|
b
|
bool AvFormatDecoder::CanHandle(char testbuf[kDecoderProbeBufferSize], |
958 | 958 | score--; |
959 | 959 | } |
960 | 960 | |
| 961 | memset(probe.buf + probe.buf_size, 0, AVPROBE_PADDING_SIZE); |
| 962 | |
961 | 963 | if (av_probe_input_format2(&probe, true, &score)) |
962 | 964 | return true; |
963 | 965 | return false; |
… |
… |
int AvFormatDecoder::OpenFile(RingBuffer *rbuffer, bool novideo, |
1058 | 1060 | else |
1059 | 1061 | probe.buf_size = kDecoderProbeBufferSize - AVPROBE_PADDING_SIZE; |
1060 | 1062 | |
| 1063 | memset(probe.buf + probe.buf_size, 0, AVPROBE_PADDING_SIZE); |
| 1064 | |
1061 | 1065 | LOG(VB_PLAYBACK, LOG_DEBUG, LOC + "OpenFile -- begin"); |
1062 | 1066 | |
1063 | 1067 | fmt = av_probe_input_format(&probe, true); |