[FFmpeg-devel] [PATCH 1/3] avformat/mpegts: Fix side data type for stream id

Michael Niedermayer michael at niedermayer.cc
Sat Dec 8 00:57:48 EET 2018


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavformat/mpegts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 
-- 
2.19.2



More information about the ffmpeg-devel mailing list