Ticket #13292: disable_avformatdecoder_return_FAIL_DEBUGONLY.patch

File disable_avformatdecoder_return_FAIL_DEBUGONLY.patch, 613 bytes (added by Mike Bibbings, 3 years ago)
  • mythtv/libs/libmythtv/avformatdecoder.cpp

    diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
    index 2c3a1985a0..e8f84d9f76 100644
    a b static int has_codec_parameters(AVStream *st) 
    192192
    193193#define FAIL(errmsg) do {                                     \
    194194    LOG(VB_PLAYBACK, LOG_DEBUG, LOC + errmsg);                \
    195     return 0;                                                 \
     195    return 1;                                                 \
    196196} while (0)
    197197
    198198    switch (st->codecpar->codec_type)