diff options
author | Alex Converse <alex.converse@gmail.com> | 2011-12-19 10:41:22 -0800 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2011-12-20 09:52:04 -0800 |
commit | d9b89b23df4f63d67694507f3d1caee62424a9d8 (patch) | |
tree | bc0a9472c8f8d50c6abdb2dafaa47a2dde306a0a /libavformat | |
parent | b797f7352055cec199bb087323f20edaa1101369 (diff) | |
download | ffmpeg-d9b89b23df4f63d67694507f3d1caee62424a9d8.tar.gz |
mpegts: Fix typo in handling sections in the PMT.
This was an error rebasing 4682a1dc3aa2554ad7077f5db32d0f2d598d018e for
commit. The "pes" variable guaranteed to be NULL in that block.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mpegts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index ca01003d80..2356fa8935 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -1460,7 +1460,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len if (idx >= 0) { st = ts->stream->streams[idx]; } else { - st = avformat_new_stream(pes->stream, NULL); + st = avformat_new_stream(ts->stream, NULL); st->id = pid; st->codec->codec_type = AVMEDIA_TYPE_DATA; } |