hls: Check av_opt_set_dict return value as well