Ticket #13292: disable_avformatdecoder_return_FAIL_DEBUGONLY_v30.patch

File disable_avformatdecoder_return_FAIL_DEBUGONLY_v30.patch, 613 bytes (added by Mike Bibbings, 22 months ago)
  • mythtv/libs/libmythtv/avformatdecoder.cpp

    diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
    index d8b6e4e62e..a66e94cbb2 100644
    a b static int has_codec_parameters(AVStream *st) 
    206206
    207207#define FAIL(errmsg) do {                                     \
    208208    LOG(VB_PLAYBACK, LOG_DEBUG, LOC + (errmsg));              \
    209     return 0;                                                 \
     209    return 1;                                                 \
    210210} while (0)
    211211
    212212    switch (st->codecpar->codec_type)