mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-10 16:15:39 +01:00
lavf/mpegts: Make a pointer cast explicit.
Silences an "assignment discards ‘const’ qualifier" warning. Reviewed-by: Marton Balint
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user