aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-12-07 21:51:48 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2019-01-21 07:53:26 +0100
commite3fbbb7d18b6a19a55ce4f2662e726e41d330553 (patch)
tree725fc8966f65f0cfd9b06602019cf519f3a60cc3
parent2f75965c47da0a25ec03a8aebd565fba20aa317b (diff)
downloadffmpeg-e3fbbb7d18b6a19a55ce4f2662e726e41d330553.tar.gz
avformat/mpegts: Fix side data type for stream id
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit ab1319d82f0c77308792fa2d88cbfc73c3e47cb7) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index edf6b5701d..a5e850e121 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -918,7 +918,7 @@ static void new_data_packet(const uint8_t *buffer, int len, AVPacket *pkt)
static int new_pes_packet(PESContext *pes, AVPacket *pkt)
{
- char *sd;
+ uint8_t *sd;
av_init_packet(pkt);