Ticket #13292: disable_avformatdecoder_return_FAIL_DEBUGONLY_master_31.patch

File disable_avformatdecoder_return_FAIL_DEBUGONLY_master_31.patch, 617 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 29da3acec4..451fcb958e 100644
    a b static int has_codec_parameters(AVStream *st) 
    214214
    215215#define FAIL(errmsg) do {                                     \
    216216    LOG(VB_PLAYBACK, LOG_DEBUG, LOC + (errmsg));              \
    217     return 0;                                                 \
     217    return 1;                                                 \
    218218} while (false)
    219219
    220220    switch (st->codecpar->codec_type)