You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're getting segfaults or Windows fatal exception: access violation errors on Windows, with FFmpeg5, on the test_bad_input() abd test_bad_input_parametrized() tests of the AudioEncoder.
These tests purposefuly pass wrong parameter values for e.g. sample_rate or bit_rate. The error happens internally within the call to avcodec_open2():
I can validate that avCodecContext_, avCodecContext_.get() and avCodec are all non-null pointers before calling this. The error really seems to be within avcodec_open2() and not later, and not in the destructor either.
I'm not sure what's going on but I can reproduce the problem on different FFmpeg 5 versions. However, all of 4, 6, and 7 work fine.