Fix gecko crash issue.

In dash case, hls's sniffer will cause gecko crash.

Issue: MS-429

Signed-off-by: Yunchao Chen <chenyc@infthink.com>