[FFmpeg-cvslog] Fix bug in mpegts muxer which affects KLV async stream generation.

Artyom Lebedev git at videolan.org
Sat Dec 8 02:19:29 EET 2018


ffmpeg | branch: master | Artyom Lebedev <vagran.ast at gmail.com> | Fri Dec  7 11:48:28 2018 +0200| [6b1c4ce8cf600f6bd7e48b6971527b56a31b9fab] | committer: Peter Ross

Fix bug in mpegts muxer which affects KLV async stream generation.

Fixes ticket #7597.

Signed-off-by: Peter Ross <pross at xvid.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6b1c4ce8cf600f6bd7e48b6971527b56a31b9fab
---

 libavformat/mpegtsenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index 3339e26d50..4470b7120c 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -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,



More information about the ffmpeg-cvslog mailing list