libavutil/hwcontext.c:88: error: Uninitialized Value
  The value read from next was never initialized.

libavutil/hwcontext.c:88:12: 
86.         }
87.     }
88.     return set ? next : AV_HWDEVICE_TYPE_NONE;
               ^
89. }
90. 

enum AVHWDeviceType av_hwdevice_iterate_types(enum AVHWDeviceType prev)
{
    enum AVHWDeviceType next;
    int i, set = 0;
    for (i = 0; hw_table[i]; i++) {
        if (prev != AV_HWDEVICE_TYPE_NONE && hw_table[i]->type <= prev)
            continue;
        if (!set || hw_table[i]->type < next) {
            next = hw_table[i]->type;
            set = 1;
        }
    }
    return set ? next : AV_HWDEVICE_TYPE_NONE;
}
['enum AVHWDeviceType av_hwdevice_iterate_types(enum AVHWDeviceType prev)\n{\n    enum AVHWDeviceType next;\n    int i, set = 0;\n    for (i = 0; hw_table[i]; i++) {\n        if (prev != AV_HWDEVICE_TYPE_NONE && hw_table[i]->type <= prev)\n            continue;\n        if (!set || hw_table[i]->type < next) {\n            next = hw_table[i]->type;\n            set = 1;\n        }\n    }\n    return set ? next : AV_HWDEVICE_TYPE_NONE;\n}']