mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
We can't use AV_FRAME_SIDE_DATA_FLAG_REPLACE here because the side data already in the frame should have priority over the global one, so just ensure we don't copy any if it already exists. Fixes ticket #11468. Signed-off-by: James Almer <jamrial@gmail.com>