mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-09-01 09:51:25 +02:00
libeplayer3: c++ adjustments
This commit is contained in:
@@ -243,7 +243,7 @@ static int writeData(WriterAVCallData_t *call)
|
||||
insertSampleHeader = 0;
|
||||
}
|
||||
|
||||
PacketStart = malloc(call->len + HeaderLength);
|
||||
PacketStart = (unsigned char *) malloc(call->len + HeaderLength);
|
||||
memcpy(PacketStart, PesHeader, HeaderLength);
|
||||
memcpy(PacketStart + HeaderLength, call->data + Position,
|
||||
PacketLength);
|
||||
|
Reference in New Issue
Block a user