mirror of https://git.ffmpeg.org/ffmpeg.git
lavf/mpegts: Make a pointer cast explicit.
Silences an "assignment discards ‘const’ qualifier" warning. Reviewed-by: Marton Balint
This commit is contained in:
parent
5979fb0b1e
commit
79d232fc9f
|
@ -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)
|
static void new_data_packet(const uint8_t *buffer, int len, AVPacket *pkt)
|
||||||
{
|
{
|
||||||
av_init_packet(pkt);
|
av_init_packet(pkt);
|
||||||
pkt->data = buffer;
|
pkt->data = (uint8_t *)buffer;
|
||||||
pkt->size = len;
|
pkt->size = len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue