You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
mpegts: fix null-pointer dereference
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
d9d492513d
commit
463c8d8621
@@ -1125,7 +1125,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
|
||||
pes = ts->pids[pid]->u.pes_filter.opaque;
|
||||
if (!pes->st) {
|
||||
pes->st = avformat_new_stream(pes->stream, NULL);
|
||||
st->id = pes->pid;
|
||||
pes->st->id = pes->pid;
|
||||
}
|
||||
st = pes->st;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user