aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-12-07 21:51:48 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2019-01-15 00:57:27 +0100
commitd9010b1d8f080ca2beaa6976ad00b44e0a8c824f (patch)
tree7ba8eb48839fec200f736a8b2081204b4ac017fd
parent72536017a7c33e2f2ee49a680f90fa87d84a94bf (diff)
downloadffmpeg-d9010b1d8f080ca2beaa6976ad00b44e0a8c824f.tar.gz
avformat/mpegts: Fix side data type for stream id
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit ab1319d82f0c77308792fa2d88cbfc73c3e47cb7) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 0aa0ad77b8..67b25233ec 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -887,7 +887,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);