avformat/mpegts: Fix side data type for stream id
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 7 Dec 2018 20:51:48 +0000 (21:51 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 19 Dec 2018 19:09:03 +0000 (20:09 +0100)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mpegts.c

index edf6b57..a5e850e 100644 (file)
@@ -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);