diff options
author | Hao Guan <hguandl@gmail.com> | 2024-06-21 14:08:20 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2024-07-07 18:46:02 +0800 |
commit | cd2f8a22e94700c68b1de7968df11e8bebfd315b (patch) | |
tree | feb51115838984c9ff5e1119dd197b40f78a01a8 /tests/ref/fate/vp9-02-size-10x16 | |
parent | 24b3bad811f147ebb089048f64fea97a1e627243 (diff) | |
download | ffmpeg-cd2f8a22e94700c68b1de7968df11e8bebfd315b.tar.gz |
avcodec/videotoolboxenc: fix vtctx reset condition
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>
Diffstat (limited to 'tests/ref/fate/vp9-02-size-10x16')
0 files changed, 0 insertions, 0 deletions