8e6032990c
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>