mirror of https://github.com/FFmpeg/FFmpeg.git
In vtenc_populate_extradata, the cleanup function vtenc_reset should not be used when no error occurs, otherwise some color information is lost (#11036). This patch checks the status code and conducts the correct cleanup. Signed-off-by: Hao Guan <hguandl@gmail.com> Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>release/7.1
parent
24b3bad811
commit
cd2f8a22e9
1 changed files with 8 additions and 1 deletions
Loading…
Reference in new issue