]> git.sesse.net Git - ffmpeg/commitdiff
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 3339e26d50714647345892cd0a86e5a60356e822..4470b7120c187a3b815b011357fbb54e710d64a0 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,