We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opus_custom_encode calls celt_encode_with_ec with NULL passed as ec_enc *enc parameter.
opus_custom_encode
celt_encode_with_ec
ec_enc *enc
In this function, ec_enc_shrink is called at https://github.com/xiph/opus/blob/main/celt/celt_encoder.c#L1596. enc variable gets initialized in branch below at https://github.com/xiph/opus/blob/main/celt/celt_encoder.c#L1607.
ec_enc_shrink
enc
Unlike other branches that check for enc being NULL pointer, here it's omitted, causing a crash when st->bitrate isn't OPUS_BITRATE_MAX.
st->bitrate
OPUS_BITRATE_MAX
The text was updated successfully, but these errors were encountered:
It seems it was broken here: 9fdc489
Sorry, something went wrong.
No branches or pull requests
opus_custom_encode
callscelt_encode_with_ec
with NULL passed asec_enc *enc
parameter.In this function,
ec_enc_shrink
is called at https://github.com/xiph/opus/blob/main/celt/celt_encoder.c#L1596.enc
variable gets initialized in branch below at https://github.com/xiph/opus/blob/main/celt/celt_encoder.c#L1607.Unlike other branches that check for
enc
being NULL pointer, here it's omitted, causing a crash whenst->bitrate
isn'tOPUS_BITRATE_MAX
.The text was updated successfully, but these errors were encountered: