hlsdemux: don't try to access non-existant iframe variant
authorMichael Olbrich <m.olbrich@pengutronix.de>
Fri, 28 Oct 2016 08:05:20 +0000 (10:05 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 31 Oct 2016 12:03:06 +0000 (14:03 +0200)
commitc2920ec3eab4fff2c6c11b9b0027f5b9b3581aa0
tree0e98133596dc7968e3f0f4d9733ddcf00f0e547d
parentae2a5f1ba928dfb61712d073b49d4cd37b5d6aa7
hlsdemux: don't try to access non-existant iframe variant

If the playlist does not contain any iframe variants then
demux->master->iframe_variants is NULL. If the previous variant is an
iframe variant then there is at least one iframe variant and
demux->master->iframe_variants->data can be safely used.

https://bugzilla.gnome.org/show_bug.cgi?id=773635
ext/hls/gsthlsdemux.c