avformat/hlsenc: fix cid 1401346 Dereferencing pointer error
authorSteven Liu <lq@chinaffmpeg.org>
Tue, 21 Feb 2017 15:38:39 +0000 (23:38 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Tue, 21 Feb 2017 15:38:39 +0000 (23:38 +0800)
commit0c0aef1caf0cb5dd3b294f9fff923175036bd985
tree29c368287a2a3742f9539884923080a69cf4244b
parentcbd622be997e8307a409efc3b4bbe8765147def2
avformat/hlsenc: fix cid 1401346  Dereferencing pointer error

check if proto is null before av_strcasecmp
CID:  1401346

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavformat/hlsenc.c