encoder: Fix cast warning

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2019-08-10 22:40:45 +02:00
parent 7faea52d67
commit e84eedb8f9
+1 -1
View File
@@ -1028,7 +1028,7 @@ int obsffmpeg::encoder::receive_packet(bool* received_packet, struct encoder_pac
}
std::memcpy(_current_packet.data, tmp_packet, sz_packet);
_current_packet.size = sz_packet;
_current_packet.size = static_cast<int>(sz_packet);
bfree(tmp_packet);
bfree(tmp_header);