[fix] stop threads when DestroyIceTransmission() called

This commit is contained in:
dijunkun
2024-10-18 17:15:33 +08:00
parent 30c167e6cc
commit 35d4f522c5
5 changed files with 39 additions and 21 deletions

View File

@@ -83,7 +83,8 @@ int AomAv1Decoder::Decode(
return -1;
}
if (img_ = aom_codec_get_frame(&aom_av1_decoder_ctx_, &iter)) {
img_ = aom_codec_get_frame(&aom_av1_decoder_ctx_, &iter);
if (img_) {
{
aom_codec_frame_flags_t flags;
ret = aom_codec_control(&aom_av1_decoder_ctx_, AOMD_GET_FRAME_FLAGS,