Browse Source

mpegts: fix null-pointer dereference

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Hendrik Leppkes Michael Niedermayer 13 years ago
parent
commit
463c8d8621
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mpegts.c

+ 1
- 1
libavformat/mpegts.c View File

@@ -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 {


Loading…
Cancel
Save