gui/qt: extended_panels: ChangeVFiltersString: NULL check
commit0a92e09c2995eb62ba62f45ba2201856c85a2341
authorFilip Roséen <filip@atch.se>
Sat, 25 Feb 2017 06:31:45 +0000 (25 07:31 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 25 Feb 2017 14:20:35 +0000 (25 15:20 +0100)
tree592b1c843391a4efb3354a90d346fb13df86a0fc
parent8a961e000682d252ed727cd838c46e6dd9076c3b
gui/qt: extended_panels: ChangeVFiltersString: NULL check

GetVFilterType returns NULL on error, meaning that it is not
guaranteed that psz_filter_type contains what we require: this change
make sure that we abort ChangeVFiltersString if the type is unknown.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt/components/extended_panels.cpp