]> git.sesse.net Git - ffmpeg/commit
avformat/mpegts: Check if ready on SCTE reception
authorAnthony Delannoy <anthony.2lannoy@gmail.com>
Tue, 3 Sep 2019 15:54:24 +0000 (17:54 +0200)
committerMarton Balint <cus@passwd.hu>
Tue, 3 Sep 2019 19:35:20 +0000 (21:35 +0200)
commit39f129593756e3e270ed3881ca076627f30e1eb7
tree712a9768cb101c67164395f1a7a77be6b345c48c
parent7eb465e185a7939730e896625f99b6a616b36d61
avformat/mpegts: Check if ready on SCTE reception

On some DVB stream SCTE-35 data packet are available before the end of
MpegTSContext initialization. We have to check if it is the case to
avoid a SEGFAULT.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/mpegts.c