avcodec/bitstream_filters: check the input argument of av_bsf_get_by_name() for NULL
authorJames Almer <jamrial@gmail.com>
Sat, 28 Jul 2018 03:51:57 +0000 (00:51 -0300)
committerJames Almer <jamrial@gmail.com>
Sat, 28 Jul 2018 14:14:19 +0000 (11:14 -0300)
commit3258cc6507a2012d54889ce5f8efbde7e81d927d
tree6dcd48e727b097716e5de375db9f6b7a150d926a
parentbed125b7108481574f36fdd6ee699b27354602e8
avcodec/bitstream_filters: check the input argument of av_bsf_get_by_name() for NULL

Fixes crashes like "ffmpeg -h bsf" caused by passing NULL to strcmp()

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/bitstream_filters.c