Commit 79d232fc authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavf/mpegts: Make a pointer cast explicit.

Silences an "assignment discards ‘const’ qualifier" warning.

Reviewed-by: Marton Balint
parent 5979fb0b
......@@ -881,7 +881,7 @@ static void reset_pes_packet_state(PESContext *pes)
static void new_data_packet(const uint8_t *buffer, int len, AVPacket *pkt)
{
av_init_packet(pkt);
pkt->data = buffer;
pkt->data = (uint8_t *)buffer;
pkt->size = len;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment