mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-08 10:30:04 +08:00
[h264d]: Fix 264d decoding missing last frame
When the last packet sends empty data, h264d_prepare returns in advance, causing the previous nalu to not be saved normally, resulting in the loss of the last frame of data. Change-Id: Ic519b4326935d82b2534e7442c0ba5175885cef2 Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
This commit is contained in:
@@ -514,7 +514,6 @@ MPP_RET h264d_prepare(void *decoder, MppPacket pkt, HalDecTask *task)
|
||||
p_Inp->in_length = 0;
|
||||
task->flags.eos = p_Inp->pkt_eos;
|
||||
h264d_flush_dpb_eos(p_Dec);
|
||||
goto __RETURN;
|
||||
}
|
||||
|
||||
if (p_Inp->in_length > MAX_STREM_IN_SIZE) {
|
||||
|
Reference in New Issue
Block a user