MT#55283 fix missing init of last_ts

Change-Id: I45b37f5a2abf11d2650be01ac8114b9c0efc7a63
(cherry picked from commit fdfd5c09c4)
mr13.3
Richard Fuchs 1 year ago
parent 4f12fc3914
commit ec6730d1ad

@ -2307,6 +2307,9 @@ static int __handler_func_sequencer(struct media_packet *mp, struct transcode_pa
}
if (ch) {
if (!ch->csch.last_ts)
ch->csch.last_ts = packet->ts;
uint32_t ts_diff = ch->csch.last_ts - packet->ts;
if (ts_diff < 0x80000000) { // ch->last_ts >= packet->ts
// multiple consecutive packets with same TS: this could be a compound packet, e.g. a large video frame, or

Loading…
Cancel
Save