pub const AV_HWFRAME_MAP_OVERWRITE: u32 = 4; // 4u32
The mapped frame will be overwritten completely in subsequent operations, so the current frame data need not be loaded. Any values which are not overwritten are unspecified.