fix: The decoder task crashed

This commit is contained in:
dreamsourcelabTAI 2023-05-15 10:55:35 +08:00
parent 49e680f06b
commit e3234de097

View File

@ -546,6 +546,10 @@ void DecoderStack::decode_data(const uint64_t decode_start, const uint64_t decod
continue;
}
if (_is_capture_end && i == _snapshot->get_mipmap_sample_count()){
break;
}
uint64_t chunk_end = end_index;
for (int j =0 ; j < logic_di->dec_num_channels; j++) {