aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-12-07 21:51:48 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2019-03-24 10:38:51 +0100
commitf51a271f206b1a1e3944e441aa7a2cb9947d999f (patch)
tree704a21394e1a27ab91846c6214189a22a484de94
parent53d34fad0dd09501e1416796e2d2b35d45ed8453 (diff)
downloadffmpeg-f51a271f206b1a1e3944e441aa7a2cb9947d999f.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 53cbcfb543..1bc5b674b2 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);