vdec: fixed the issue of the swap memory leak. [1/1]
authorNanxin Qin <nanxin.qin@amlogic.com>
Tue, 26 May 2020 12:44:59 +0000 (20:44 +0800)
committerNanxin Qin <nanxin.qin@amlogic.com>
Tue, 26 May 2020 13:06:00 +0000 (06:06 -0700)
commitf3eded78794916b1916c19658197f7bad05124fb
tree90e832ab4371b5e4164639f5bbc939142baffec2
parentbb229c02a35f1f01e00fadd8b1af08d6f16dc7ab
vdec: fixed the issue of the swap memory leak. [1/1]

PD#SWPL-26496

Problem:
cobalt can't play clear stream after play DRM stream

Solution:
if the swap memory did not free, then the tvp pool
hold a mass of memory that caused to clear stream
playback fail as not enough memory to decoding.

Verify:
u212

Change-Id: I18fcbe228a72c2d445f47058aed4401365365aec
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
drivers/frame_provider/decoder/utils/vdec_input.c