This is required to make the order in the C++ virtual table consistent in MSVC - previously the overloaded methods were ordered differently in the vtable compared to the interface declaration.
Showing the changes to test/decoder_test.cpp (1 of 8 files). Show all
Unified · Split
| @@ -67,7 +67,7 @@ static bool DecodeAndProcess(ISVCDecoder* decoder, const uint8_t* src, · 66 unmodified lines | ||
| 67 | 67 | memset(data, 0, sizeof(data)); |
| 68 | 68 | memset(&bufInfo, 0, sizeof(SBufferInfo)); |
| 69 | 69 | |
| 70 | − DECODING_STATE rv = decoder->DecodeFrame(src, sliceSize, data, &bufInfo); | |
| 70 | + DECODING_STATE rv = decoder->DecodeFrame2(src, sliceSize, data, &bufInfo); | |
| 71 | 71 | if (rv != dsErrorFree) { |
| 72 | 72 | return false; |
| 73 | 73 | } |