Fix bug in mpegts muxer which affects KLV async stream generation.
authorArtyom Lebedev <vagran.ast@gmail.com>
Fri, 7 Dec 2018 09:48:28 +0000 (11:48 +0200)
committerPeter Ross <pross@xvid.org>
Sat, 8 Dec 2018 00:06:10 +0000 (11:06 +1100)
Fixes ticket #7597.

Signed-off-by: Peter Ross <pross@xvid.org>
libavformat/mpegtsenc.c

index 3339e26..4470b71 100644 (file)
@@ -1523,7 +1523,7 @@ static int mpegts_write_packet_internal(AVFormatContext *s, AVPacket *pkt)
     int64_t dts = pkt->dts, pts = pkt->pts;
     int opus_samples = 0;
     int side_data_size;
-    char *side_data = NULL;
+    uint8_t *side_data = NULL;
     int stream_id = -1;
 
     side_data = av_packet_get_side_data(pkt,